Removed platform check that always had the same result

The UM.Application.platform property has been removed by someone for quite some time.
I don't know why the check was in there, but it doesn't seem needed at all as the property was always undefined
This commit is contained in:
Jaime van Kessel 2019-04-05 17:07:12 +02:00
parent ac0a5bb156
commit ed503cb6ec
4 changed files with 4 additions and 4 deletions

View file

@ -563,7 +563,7 @@ UM.MainWindow
//: File open dialog title
title: catalog.i18nc("@title:window","Open file(s)")
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal;
modality: Qt.WindowModal
selectMultiple: true
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
folder: CuraApplication.getDefaultPath("dialog_load_path")