mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
Ask the Preferences Widget to show and be visible
The 'show' call only makes the dialog visible, but if it's covered by any other window that's not from *this* program it could still be hidden in some OSes. the call to raise() asks the window manager to make the widget to be on top of the widget stack. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d120755d15
commit
4b3a117401
1 changed files with 1 additions and 0 deletions
|
@ -589,6 +589,7 @@ void MainWindow::showProfile()
|
|||
void MainWindow::on_actionPreferences_triggered()
|
||||
{
|
||||
PreferencesDialog::instance()->show();
|
||||
PreferencesDialog::instance()->raise();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionQuit_triggered()
|
||||
|
|
Loading…
Add table
Reference in a new issue