mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-01 19:18:28 -04:00
widgets: fix dropdown/icon picker referencing a dead window
port 1.5
This commit is contained in:
@@ -305,7 +305,7 @@ Item {
|
||||
|
||||
onClosed: root.menuOpen = false
|
||||
|
||||
parent: Overlay.overlay
|
||||
parent: root.Overlay.overlay
|
||||
width: root.popupWidth === -1 ? undefined : (root.popupWidth > 0 ? root.popupWidth : (dropdown.width + root.popupWidthOffset))
|
||||
height: {
|
||||
let h = root.enableFuzzySearch ? 54 : 0;
|
||||
|
||||
@@ -118,7 +118,7 @@ Rectangle {
|
||||
Popup {
|
||||
id: iconPopup
|
||||
|
||||
parent: Overlay.overlay
|
||||
parent: root.Overlay.overlay
|
||||
width: 320
|
||||
height: Math.min(500, dropdownContent.implicitHeight + 32)
|
||||
padding: 0
|
||||
|
||||
Reference in New Issue
Block a user