AboutSystem: Activate() window on B_SILENT_RELAUNCH

Fixes #9094.
This commit is contained in:
Adrien Destugues 2015-01-08 16:33:56 +01:00
parent 070e77cc59
commit 6e19777018

View File

@ -140,6 +140,7 @@ TranslationComparator(const void* left, const void* right)
class AboutApp : public BApplication {
public:
AboutApp();
void MessageReceived(BMessage* message);
};
@ -246,6 +247,19 @@ AboutApp::AboutApp()
}
void
AboutApp::MessageReceived(BMessage* message)
{
switch (message->what) {
case B_SILENT_RELAUNCH:
WindowAt(0)->Activate();
break;
}
BApplication::MessageReceived(message);
}
// #pragma mark -