Replace "Show Engine Log" with "Show Configuration Folder"

inb4 string freeze
This commit is contained in:
fieldOfView 2016-09-13 10:46:33 +02:00
parent 2bd53d4ce4
commit 8d6f7c06c1
2 changed files with 18 additions and 3 deletions

View file

@ -212,7 +212,7 @@ UM.MainWindow
//: Help menu
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.reportBug; }
MenuSeparator { }
@ -672,8 +672,15 @@ UM.MainWindow
Connections
{
target: Cura.Actions.showEngineLog
onTriggered: engineLog.visible = true;
target: Cura.Actions.showProfileFolder
onTriggered:
{
var path = UM.Resources.getPath(UM.Resources.Preferences, "");
if(Qt.platform.os == "windows") {
path = path.replace(/\\/g,"/");
}
Qt.openUrlExternally(path);
}
}
AddMachineDialog