mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
WebFlowCredentialsDialog: Bring re-auth dialog to top (raise) on error
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
a69aed80e6
commit
b6b04aeff8
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue