mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Replace "Show Engine Log" with "Show Configuration Folder"
inb4 string freeze
This commit is contained in:
parent
2bd53d4ce4
commit
8d6f7c06c1
@ -45,6 +45,7 @@ Item
|
|||||||
property alias preferences: preferencesAction;
|
property alias preferences: preferencesAction;
|
||||||
|
|
||||||
property alias showEngineLog: showEngineLogAction;
|
property alias showEngineLog: showEngineLogAction;
|
||||||
|
property alias showProfileFolder: showProfileFolderAction;
|
||||||
property alias documentation: documentationAction;
|
property alias documentation: documentationAction;
|
||||||
property alias reportBug: reportBugAction;
|
property alias reportBug: reportBugAction;
|
||||||
property alias about: aboutAction;
|
property alias about: aboutAction;
|
||||||
@ -289,6 +290,13 @@ Item
|
|||||||
shortcut: StandardKey.WhatsThis;
|
shortcut: StandardKey.WhatsThis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Action
|
||||||
|
{
|
||||||
|
id: showProfileFolderAction;
|
||||||
|
text: catalog.i18nc("@action:inmenu menubar:help","Show Configuration Folder");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: configureSettingVisibilityAction
|
id: configureSettingVisibilityAction
|
||||||
|
@ -212,7 +212,7 @@ UM.MainWindow
|
|||||||
//: Help menu
|
//: Help menu
|
||||||
title: catalog.i18nc("@title:menu menubar:toplevel","&Help");
|
title: catalog.i18nc("@title:menu menubar:toplevel","&Help");
|
||||||
|
|
||||||
MenuItem { action: Cura.Actions.showEngineLog; }
|
MenuItem { action: Cura.Actions.showProfileFolder; }
|
||||||
MenuItem { action: Cura.Actions.documentation; }
|
MenuItem { action: Cura.Actions.documentation; }
|
||||||
MenuItem { action: Cura.Actions.reportBug; }
|
MenuItem { action: Cura.Actions.reportBug; }
|
||||||
MenuSeparator { }
|
MenuSeparator { }
|
||||||
@ -672,8 +672,15 @@ UM.MainWindow
|
|||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
target: Cura.Actions.showEngineLog
|
target: Cura.Actions.showProfileFolder
|
||||||
onTriggered: engineLog.visible = true;
|
onTriggered:
|
||||||
|
{
|
||||||
|
var path = UM.Resources.getPath(UM.Resources.Preferences, "");
|
||||||
|
if(Qt.platform.os == "windows") {
|
||||||
|
path = path.replace(/\\/g,"/");
|
||||||
|
}
|
||||||
|
Qt.openUrlExternally(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AddMachineDialog
|
AddMachineDialog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user