Commit 840694cc authored by Eike Hein's avatar Eike Hein
Browse files

Fix window pin not showing

Summary:
showPin oscillates during startup and the prop being null'd
on destroy() is not sync, so this creates a race condition.

BUG:390428

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10510
parent 08eb7f44
...@@ -270,6 +270,7 @@ Item { ...@@ -270,6 +270,7 @@ Item {
windowPin = windowPinComponent.createObject(label); windowPin = windowPinComponent.createObject(label);
} else if (windowPin) { } else if (windowPin) {
windowPin.destroy(); windowPin.destroy();
windowPin = null;
} }
} }
......
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