mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06: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
|
||||
{
|
||||
id: item
|
||||
text: model_data.name
|
||||
text: model_data ? model_data.name : ""
|
||||
checkable: true;
|
||||
checked: model_data.active;
|
||||
checked: model_data ? model_data.active : false;
|
||||
exclusiveGroup: profileMenuGroup;
|
||||
onTriggered:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue