Skip to content

Commit bde9480

Browse files
committed
[macOS] Add workaround for QTBUG-89607 to fix ComboBoxes in FlashDialog
Popups in modal dialogs are broken.
1 parent b7b21c8 commit bde9480

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qml/FlashDialog.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import Firebird.UIComponents 1.0
88
Dialog {
99
id: flashDialog
1010
title: qsTr("Create Flash Image")
11+
// Work around QTBUG-89607: Menu (used by ComboBox) doesn't work in modal windows
12+
modality: Qt.platform.pluginName == "cocoa" ? Qt.NonModal : Qt.WindowModal
1113
standardButtons: Dialog.Save | Dialog.Cancel
1214
onVisibleChanged: {
1315
// For some reason the initial size on wayland is too big.

0 commit comments

Comments
 (0)