Move Deskbar prefs window to current workspace if hidden
This commit is contained in:
parent
66e9410806
commit
331c9098ea
@ -283,6 +283,18 @@ PreferencesWindow::QuitRequested()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
PreferencesWindow::Show()
|
||||
{
|
||||
if (IsHidden()) {
|
||||
// move to current workspace
|
||||
SetWorkspaces(B_CURRENT_WORKSPACE);
|
||||
}
|
||||
|
||||
BWindow::Show();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
PreferencesWindow::WindowActivated(bool active)
|
||||
{
|
||||
|
@ -35,6 +35,7 @@ public:
|
||||
|
||||
virtual void MessageReceived(BMessage* message);
|
||||
virtual bool QuitRequested();
|
||||
virtual void Show();
|
||||
virtual void WindowActivated(bool active);
|
||||
|
||||
void UpdateRecentCounts();
|
||||
|
Loading…
Reference in New Issue
Block a user