mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Replace "Show Engine Log" with "Show Configuration Folder"
inb4 string freeze
This commit is contained in:
parent
2bd53d4ce4
commit
8d6f7c06c1
2 changed files with 18 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue