mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:35:54 +08:00
Remove open action, fixing ambiguous overload of Ctrl+O
The action was no longer in the menu, but the hotkey still functioned. Then there were two actions for Ctrl+O, which was ambiguous to Qt. Contributes to issue CURA-7868.
This commit is contained in:
parent
00de7497a4
commit
de80461954
@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2018 Ultimaker B.V.
|
// Copyright (c) 2021 Ultimaker B.V.
|
||||||
// Cura is released under the terms of the LGPLv3 or higher.
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
pragma Singleton
|
pragma Singleton
|
||||||
@ -12,7 +12,6 @@ import Cura 1.0 as Cura
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
property alias newProject: newProjectAction;
|
property alias newProject: newProjectAction;
|
||||||
property alias open: openAction;
|
|
||||||
property alias quit: quitAction;
|
property alias quit: quitAction;
|
||||||
|
|
||||||
property alias undo: undoAction;
|
property alias undo: undoAction;
|
||||||
@ -413,14 +412,6 @@ Item
|
|||||||
onTriggered: CuraApplication.resetAll();
|
onTriggered: CuraApplication.resetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
|
||||||
{
|
|
||||||
id: openAction;
|
|
||||||
text: catalog.i18nc("@action:inmenu menubar:file","&Open File(s)...");
|
|
||||||
iconName: "document-open";
|
|
||||||
shortcut: StandardKey.Open;
|
|
||||||
}
|
|
||||||
|
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: newProjectAction
|
id: newProjectAction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user