mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 17:24:21 +08:00
Merge pull request #2692 from Ultimaker/reload_qml
Added reload qml action
This commit is contained in:
commit
ce88b9ee67
@ -244,6 +244,16 @@ Item
|
|||||||
onTriggered: CuraApplication.groupSelected();
|
onTriggered: CuraApplication.groupSelected();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Action
|
||||||
|
{
|
||||||
|
id: reloadQmlAction
|
||||||
|
onTriggered:
|
||||||
|
{
|
||||||
|
CuraApplication.reloadQML()
|
||||||
|
}
|
||||||
|
shortcut: "Shift+F5"
|
||||||
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: unGroupObjectsAction
|
id: unGroupObjectsAction
|
||||||
|
@ -46,6 +46,7 @@ UM.MainWindow
|
|||||||
//
|
//
|
||||||
// This has been fixed for QtQuick Controls 2 since the Shortcut item has a context property.
|
// This has been fixed for QtQuick Controls 2 since the Shortcut item has a context property.
|
||||||
Cura.Actions.parent = backgroundItem
|
Cura.Actions.parent = backgroundItem
|
||||||
|
CuraApplication.purgeWindows()
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
|
Loading…
x
Reference in New Issue
Block a user