mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 14:55:57 +08:00
Use the right enum value for dialogs on windows
This commit is contained in:
parent
a173022ec6
commit
ecb7ebc49b
@ -298,7 +298,7 @@ UM.MainWindow {
|
|||||||
|
|
||||||
//: File open dialog title
|
//: File open dialog title
|
||||||
title: qsTr("Open File")
|
title: qsTr("Open File")
|
||||||
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.Modal;
|
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal;
|
||||||
//TODO: Support multiple file selection, workaround bug in KDE file dialog
|
//TODO: Support multiple file selection, workaround bug in KDE file dialog
|
||||||
//selectMultiple: true
|
//selectMultiple: true
|
||||||
|
|
||||||
@ -317,7 +317,7 @@ UM.MainWindow {
|
|||||||
title: qsTr("Save File");
|
title: qsTr("Save File");
|
||||||
selectExisting: false;
|
selectExisting: false;
|
||||||
|
|
||||||
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.Modal;
|
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal;
|
||||||
|
|
||||||
nameFilters: UM.MeshFileHandler.supportedWriteFileTypes
|
nameFilters: UM.MeshFileHandler.supportedWriteFileTypes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user