Revert making the open file dialog a separate LocalFileProvider plugin

This reverts commits 00de7497a4 to 5f6b3b52c1

CURA-7868
This commit is contained in:
Kostas Karmas 2021-01-07 16:35:40 +01:00
parent 606ec587fe
commit 96c4d66029
9 changed files with 182 additions and 244 deletions

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 Ultimaker B.V.
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.7
@ -96,7 +96,7 @@ Item
id: openFileButton
height: UM.Theme.getSize("stage_menu").height
width: UM.Theme.getSize("stage_menu").height
onClicked: CuraApplication.getFileProviderModel().triggerFirst()
onClicked: Cura.Actions.open.trigger()
hoverEnabled: true
contentItem: Item