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:
parent
f6008dafc4
commit
ea6cf10f42
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user