WebFlowCredentialsDialog: Bring re-auth dialog to top (raise) on error
authorMichael Schuster <michael@schuster.ms>
Sat, 21 Dec 2019 18:44:37 +0000 (19:44 +0100)
committerMichael Schuster <48932272+misch7@users.noreply.github.com>
Tue, 24 Dec 2019 06:46:57 +0000 (07:46 +0100)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/creds/webflowcredentialsdialog.cpp

index 46c5a16090095f58fc203a9790987e31309b12f7..bb27f86b741d6f1d22a412fb988fba972c50ad52 100644 (file)
@@ -82,6 +82,9 @@ void WebFlowCredentialsDialog::setInfo(const QString &msg) {
 }
 
 void WebFlowCredentialsDialog::setError(const QString &error) {
+    // bring window to top
+    slotShowSettingsDialog();
+
     if (_useFlow2 && _flow2AuthWidget) {
         _flow2AuthWidget->setError(error);
         return;