bring config view to fron if already existing
Change-Id: I47bfed3ee8e327e78e046428abececd90c070df8
This commit is contained in:
parent
148e0022f6
commit
bd1d632da0
@ -155,8 +155,13 @@ Plasma::Types::FormFactor ViewPrivate::formFactor() const
|
||||
void ViewPrivate::showConfigurationInterface(Plasma::Applet *applet)
|
||||
{
|
||||
if (configView) {
|
||||
configView->hide();
|
||||
configView->deleteLater();
|
||||
if (configView->applet() != applet) {
|
||||
configView->hide();
|
||||
configView->deleteLater();
|
||||
} else {
|
||||
configView->requestActivate();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!applet || !applet->containment()) {
|
||||
|
Loading…
Reference in New Issue
Block a user