diff options
author | Fabian Müller <fmueller@owncloud.com> | 2022-04-21 17:19:26 +0300 |
---|---|---|
committer | Fabian Müller <fmueller@owncloud.com> | 2022-04-21 17:19:26 +0300 |
commit | e3f7b1a6e2e595044528daadb1f36d31a9604b31 (patch) | |
tree | 1ba5dcfa70ba2012ad43114dac47a61a08b5771e | |
parent | 05b2dddf4e02e19bb2d80ccc197399fc70c17b90 (diff) |
Bring wizard window to front after page changework/wizard-raise-dialog
-rw-r--r-- | src/gui/newwizard/setupwizardwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/newwizard/setupwizardwindow.cpp b/src/gui/newwizard/setupwizardwindow.cpp index a5b1ec506..0ba48545a 100644 --- a/src/gui/newwizard/setupwizardwindow.cpp +++ b/src/gui/newwizard/setupwizardwindow.cpp @@ -2,6 +2,7 @@ #include <QLabel> +#include "gui/owncloudgui.h" #include "ui_setupwizardwindow.h" namespace OCC::Wizard { @@ -66,6 +67,9 @@ void SetupWizardWindow::displayPage(AbstractSetupWizardPage *page, PageIndex ind // by default, set focus on the next button _ui->nextButton->setFocus(); + // bring to front if necessary + ownCloudGui::raiseDialog(this); + // this can optionally be overwritten by the page Q_EMIT _currentPage->pageDisplayed(); } |