WebFlowCredentialsDialog: Bring re-auth dialog to top (raise) on error

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2019-12-21 19:44:37 +01:00 committed by Michael Schuster
parent a69aed80e6
commit b6b04aeff8

View 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;