diff --git a/src/shell/panelview.cpp b/src/shell/panelview.cpp index dc8737c5f..903c076e3 100644 --- a/src/shell/panelview.cpp +++ b/src/shell/panelview.cpp @@ -310,6 +310,7 @@ void PanelView::setVisibilityMode(PanelView::VisibilityMode mode) updateStruts(); KWindowSystem::setOnAllDesktops(winId(), true); + emit visibilityModeChanged(); } PanelView::VisibilityMode PanelView::visibilityMode() const diff --git a/src/shell/panelview.h b/src/shell/panelview.h index 1f7550c08..9e75f9adf 100644 --- a/src/shell/panelview.h +++ b/src/shell/panelview.h @@ -38,7 +38,7 @@ class PanelView : public PlasmaQuickView Q_PROPERTY(int maximumLength READ maximumLength WRITE setMaximumLength NOTIFY maximumLengthChanged) Q_PROPERTY(int minimumLength READ minimumLength WRITE setMinimumLength NOTIFY minimumLengthChanged) Q_PROPERTY(QScreen *screen READ screen WRITE setScreen NOTIFY screenChanged) - Q_PROPERTY(VisibilityMode visibilityMode READ visibilityMode WRITE setVisibilityMode) + Q_PROPERTY(VisibilityMode visibilityMode READ visibilityMode WRITE setVisibilityMode NOTIFY visibilityModeChanged) public: @@ -91,6 +91,7 @@ Q_SIGNALS: void maximumLengthChanged(); void minimumLengthChanged(); void screenChanged(QScreen *screen); + void visibilityModeChanged(); protected Q_SLOTS: /**