diff options
author | Michael Schuster <michael@schuster.ms> | 2019-12-21 21:44:37 +0300 |
---|---|---|
committer | Michael Schuster <48932272+misch7@users.noreply.github.com> | 2019-12-24 09:46:57 +0300 |
commit | b6b04aeff8e29885ca7b4e3569b67909e7e6de91 (patch) | |
tree | 0c525963503ff5b47df1f03ccd354a6b3c1b6fd8 /src/gui/creds | |
parent | a69aed80e67dc3460cf66e09ef72cec468596b9b (diff) |
WebFlowCredentialsDialog: Bring re-auth dialog to top (raise) on error
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/creds')
-rw-r--r-- | src/gui/creds/webflowcredentialsdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/creds/webflowcredentialsdialog.cpp b/src/gui/creds/webflowcredentialsdialog.cpp index 46c5a1609..bb27f86b7 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; |