UI: don't let Flow2 and OAuth hide the wizard
authorMichael Schuster <michael@schuster.ms>
Fri, 23 Aug 2019 09:42:12 +0000 (11:42 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 26 Aug 2019 18:03:15 +0000 (20:03 +0200)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/wizard/flow2authcredspage.cpp
src/gui/wizard/owncloudoauthcredspage.cpp

index 2c0000ea4daa89503e71841e0c75b155853e8226..e5914a10b17259685a7ba498ba8d39fd372dabe2 100644 (file)
@@ -71,7 +71,9 @@ void Flow2AuthCredsPage::initializePage()
     _asyncAuth.reset(new Flow2Auth(ocWizard->account().data(), this));
     connect(_asyncAuth.data(), &Flow2Auth::result, this, &Flow2AuthCredsPage::asyncAuthResult, Qt::QueuedConnection);
     _asyncAuth->start();
-    wizard()->hide();
+
+    // Don't hide the wizard (avoid user confusion)!
+    //wizard()->hide();
 }
 
 void OCC::Flow2AuthCredsPage::cleanupPage()
index a32ccdb8779132bf27c4d441fd18a948c68f7159..174aa05c47fa135ec249bf4bdec1c6124d6e5536 100644 (file)
@@ -70,7 +70,9 @@ void OwncloudOAuthCredsPage::initializePage()
     _asyncAuth.reset(new OAuth(ocWizard->account().data(), this));
     connect(_asyncAuth.data(), &OAuth::result, this, &OwncloudOAuthCredsPage::asyncAuthResult, Qt::QueuedConnection);
     _asyncAuth->start();
-    wizard()->hide();
+
+    // Don't hide the wizard (avoid user confusion)!
+    //wizard()->hide();
 }
 
 void OCC::OwncloudOAuthCredsPage::cleanupPage()