mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:16:04 +08:00
Prevent qml errors when adding/deleting profiles
CURA-855
This commit is contained in:
parent
ebafaad411
commit
6b2b948623
@ -257,9 +257,9 @@ UM.MainWindow
|
|||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
id: item
|
id: item
|
||||||
text: model_data.name
|
text: model_data ? model_data.name : ""
|
||||||
checkable: true;
|
checkable: true;
|
||||||
checked: model_data.active;
|
checked: model_data ? model_data.active : false;
|
||||||
exclusiveGroup: profileMenuGroup;
|
exclusiveGroup: profileMenuGroup;
|
||||||
onTriggered:
|
onTriggered:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user