mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Merge pull request #2692 from Ultimaker/reload_qml
Added reload qml action
This commit is contained in:
commit
ce88b9ee67
2 changed files with 11 additions and 0 deletions
|
@ -244,6 +244,16 @@ Item
|
|||
onTriggered: CuraApplication.groupSelected();
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: reloadQmlAction
|
||||
onTriggered:
|
||||
{
|
||||
CuraApplication.reloadQML()
|
||||
}
|
||||
shortcut: "Shift+F5"
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: unGroupObjectsAction
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue