mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Prevent qml errors when adding/deleting profiles
CURA-855
This commit is contained in:
parent
ebafaad411
commit
6b2b948623
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue