mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 16:54:23 +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();
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user