diff --git a/resources/qml/Actions.qml b/resources/qml/Actions.qml index cc27520a02..054a6bed09 100644 --- a/resources/qml/Actions.qml +++ b/resources/qml/Actions.qml @@ -244,6 +244,16 @@ Item onTriggered: CuraApplication.groupSelected(); } + Action + { + id: reloadQmlAction + onTriggered: + { + CuraApplication.reloadQML() + } + shortcut: "Shift+F5" + } + Action { id: unGroupObjectsAction diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index fb2bd3bff2..1c391ddaf9 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -46,6 +46,7 @@ UM.MainWindow // // This has been fixed for QtQuick Controls 2 since the Shortcut item has a context property. Cura.Actions.parent = backgroundItem + CuraApplication.purgeWindows() } Item