From 40b9f2b909838e7abee84d8403def45e6b4fc514 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Sat, 30 Mar 2024 16:36:07 +0100 Subject: [PATCH] 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 --- resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml | 2 +- resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml b/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml index 28784f5f82..cb1eca6373 100644 --- a/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml +++ b/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml @@ -26,7 +26,7 @@ UM.Dialog minimumHeight: maximumHeight minimumWidth: maximumWidth - modality: Qt.WindowModal + modality: Qt.ApplicationModal property var fileUrl property var addToRecent: true //Whether to add this file to the recent files list after reading it. diff --git a/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml b/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml index 18891cebee..3639122280 100644 --- a/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml +++ b/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml @@ -22,7 +22,7 @@ UM.Dialog minimumHeight: height minimumWidth: width - modality: Qt.WindowModal + modality: Qt.ApplicationModal property var fileUrls: [] property var addToRecent: true