Change modal type to ApplicationModal

this was causing issues on mac. You can only have a single `modal` open at all time. Some how mac though a modal was still open (event after it was being closed) and refused to open other dialogs (like file dialogs)

CURA-11800
This commit is contained in:
c.lamboo 2024-03-30 16:36:07 +01:00
parent b3d3c4d00a
commit 40b9f2b909
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ UM.Dialog
minimumHeight: maximumHeight minimumHeight: maximumHeight
minimumWidth: maximumWidth minimumWidth: maximumWidth
modality: Qt.WindowModal modality: Qt.ApplicationModal
property var fileUrl property var fileUrl
property var addToRecent: true //Whether to add this file to the recent files list after reading it. property var addToRecent: true //Whether to add this file to the recent files list after reading it.

View file

@ -22,7 +22,7 @@ UM.Dialog
minimumHeight: height minimumHeight: height
minimumWidth: width minimumWidth: width
modality: Qt.WindowModal modality: Qt.ApplicationModal
property var fileUrls: [] property var fileUrls: []
property var addToRecent: true property var addToRecent: true