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.
pragma Singleton
@ -12,6 +12,7 @@ import Cura 1.0 as Cura
Item
{
property alias newProject: newProjectAction;
property alias open: openAction;
property alias quit: quitAction;
property alias undo: undoAction;
@ -412,6 +413,14 @@ Item
onTriggered: CuraApplication.resetAll();
}
Action
{
id: openAction;
text: catalog.i18nc("@action:inmenu menubar:file","&Open File(s)...");
iconName: "document-open";
shortcut: StandardKey.Open;
}
Action
{
id: newProjectAction