summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2017-02-09 14:34:24 (GMT)
committerKai Uwe Broulik <kde@privat.broulik.de>2017-02-09 14:37:30 (GMT)
commit92601876d18c0974aa524a84c3765f279c581ed9 (patch)
tree089b4bcfcd0dcce4e654be71c50a31b30ae3b5e2
parent172ab88346683fcc0f1dff6b05b3a50b85659e98 (diff)
[DesktopView] show() ConfigView when it is already opened
requestActivate() doesn't raise the window. The same had been done in PanelView but not for DesktopView. This way a minimized config dialog (e.g. you want look at the wallpaper in its full glory) will be raised if you open it again through the applet/desktop context menu. CHANGELOG: A minimized config dialog on the desktop (e.g. wallpaper settings) will now be un-minimized when trying to open it multiple times Reviewed-By: David Edmundson
-rw-r--r--shell/desktopview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/desktopview.cpp b/shell/desktopview.cpp
index b91422a..838c9d6 100644
--- a/shell/desktopview.cpp
+++ b/shell/desktopview.cpp
@@ -250,6 +250,7 @@ void DesktopView::showConfigurationInterface(Plasma::Applet *applet)
m_configView->hide();
m_configView->deleteLater();
} else {
+ m_configView->show();
m_configView->requestActivate();
return;
}