From b6b04aeff8e29885ca7b4e3569b67909e7e6de91 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Sat, 21 Dec 2019 19:44:37 +0100 Subject: [PATCH] WebFlowCredentialsDialog: Bring re-auth dialog to top (raise) on error Signed-off-by: Michael Schuster --- src/gui/creds/webflowcredentialsdialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/creds/webflowcredentialsdialog.cpp b/src/gui/creds/webflowcredentialsdialog.cpp index 46c5a16090..bb27f86b74 100644 --- a/src/gui/creds/webflowcredentialsdialog.cpp +++ b/src/gui/creds/webflowcredentialsdialog.cpp @@ -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;