Skip to content

Commit

Permalink
make sure that clock window is visible when setting dialog opened
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolcha committed Sep 7, 2024
1 parent 9887c83 commit 8283ce6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/core/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ void Application::showSettingsDialog()
{
auto wnd = qobject_cast<ClockWindow*>(sender());
int idx = wnd ? findWindow(wnd) : 0;
_windows[idx]->activateWindow();
_windows[idx]->raise();
_dm.maybeCreateAndShowDialog<SettingsDialog>(0xbd480f59, this, idx);
}

Expand Down

0 comments on commit 8283ce6

Please sign in to comment.