mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 13:47:51 -06:00
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:
parent
b3d3c4d00a
commit
40b9f2b909
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue