From fa0a37c705ea1aa08949e7d05c7d9142d4b6090d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 13 Nov 2014 11:43:59 +0100 Subject: [PATCH] never hide desktops Change-Id: I804bc9de57b42c1e299cc20efb636bfab3457464 --- src/plasmaquick/view.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plasmaquick/view.cpp b/src/plasmaquick/view.cpp index 08fd82e07..1d1b506a5 100644 --- a/src/plasmaquick/view.cpp +++ b/src/plasmaquick/view.cpp @@ -105,7 +105,10 @@ void ViewPrivate::setContainment(Plasma::Containment *cont) q, &View::showConfigurationInterface); QObject::connect(cont, SIGNAL(destroyedChanged(bool)), q, SLOT(updateDestroyed(bool))); - q->setVisible(!cont->destroyed() && cont->isUiReady()); + if (cont->containmentType() == Plasma::Types::PanelContainment || + cont->containmentType() == Plasma::Types::CustomPanelContainment) { + q->setVisible(!cont->destroyed() && cont->isUiReady()); + } } else { return; }