Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Müller <fmueller@owncloud.com>2022-04-21 17:19:26 +0300
committerFabian Müller <fmueller@owncloud.com>2022-04-21 17:19:26 +0300
commite3f7b1a6e2e595044528daadb1f36d31a9604b31 (patch)
tree1ba5dcfa70ba2012ad43114dac47a61a08b5771e
parent05b2dddf4e02e19bb2d80ccc197399fc70c17b90 (diff)
Bring wizard window to front after page changework/wizard-raise-dialog
-rw-r--r--src/gui/newwizard/setupwizardwindow.cpp4
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();
}