diff options
author | Fabian Müller <fmueller@owncloud.com> | 2022-04-21 17:19:26 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-04-25 11:09:05 +0300 |
commit | 9a25508643eb920c999bc882905433d4afb5f282 (patch) | |
tree | 1ba5dcfa70ba2012ad43114dac47a61a08b5771e /src/gui/newwizard | |
parent | 05b2dddf4e02e19bb2d80ccc197399fc70c17b90 (diff) |
Bring wizard window to front after page change
Diffstat (limited to 'src/gui/newwizard')
-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(); } |