Commit 67d8ac41 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Use Dialog's visibility directly rather than relying on the mainItem's

It isn't guaranteed for the mainItem visibility to reflect the actual window's visibility

Differential Revision: https://phabricator.kde.org/D18844
parent dce9bfdc
......@@ -121,13 +121,12 @@ Item {
id: toolBoxLoader
active: false
sourceComponent: PlasmaCore.Dialog {
id: dialog
flags: Qt.WindowStaysOnTopHint
location: PlasmaCore.Types.Floating
visualParent: toolBoxButton
// hideOnWindowDeactivate: true
mainItem: ToolBoxItem {
id: dialog
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
......
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