Also raise configuration window when reusing it

It seems requestActivate only implies unminimizing but not raising if already visible

Differential Revision: https://phabricator.kde.org/D15705
This commit is contained in:
Kai Uwe Broulik 2018-09-27 13:20:34 +02:00
parent f6008dafc4
commit ea6cf10f42
2 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,7 @@ void ContainmentViewPrivate::showConfigurationInterface(Plasma::Applet *applet)
configContainmentView->hide(); configContainmentView->hide();
configContainmentView->deleteLater(); configContainmentView->deleteLater();
} else { } else {
configContainmentView->raise();
configContainmentView->requestActivate(); configContainmentView->requestActivate();
return; return;
} }

View File

@ -158,6 +158,7 @@ void ViewPrivate::showConfigurationInterface(Plasma::Applet *applet)
configView->hide(); configView->hide();
configView->deleteLater(); configView->deleteLater();
} else { } else {
configView->raise();
configView->requestActivate(); configView->requestActivate();
return; return;
} }