Commit 3686fea5 authored by Eugene Popov's avatar Eugene Popov 🇺🇦 Committed by Nate Graham
Browse files

Fix pinned applet closes

Check if the applet is pinned before closing it.

BUG: 443589
parent 2f27fc9f
...@@ -124,7 +124,9 @@ T.ItemDelegate { ...@@ -124,7 +124,9 @@ T.ItemDelegate {
view.currentIndex = index view.currentIndex = index
// if successfully triggered, close popup // if successfully triggered, close popup
if(view.model.trigger(index, "", null)) { if(view.model.trigger(index, "", null)) {
plasmoid.expanded = false if (plasmoid.hideOnWindowDeactivate) {
plasmoid.expanded = false;
}
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment