mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
widgets: fix dropdown/icon picker referencing a dead window
port 1.5
(cherry picked from commit 52123458c7)
This commit is contained in:
@@ -397,7 +397,7 @@ Item {
|
||||
|
||||
Popup {
|
||||
id: saveMenu
|
||||
parent: Overlay.overlay
|
||||
parent: root.Overlay.overlay
|
||||
padding: Theme.spacingM
|
||||
modal: true
|
||||
dim: false
|
||||
|
||||
@@ -147,7 +147,7 @@ Rectangle {
|
||||
|
||||
Popup {
|
||||
id: categoryPopup
|
||||
parent: Overlay.overlay
|
||||
parent: categoryChip.Overlay.overlay
|
||||
width: Math.max(categoryChip.width, 180)
|
||||
padding: 0
|
||||
modal: true
|
||||
|
||||
@@ -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