Fixing issue with object creation from menubar.
This commit is contained in:
parent
4afe0d4d63
commit
63d9f00e96
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ MenuBar {
|
||||||
model: Object.keys(Objects.types)
|
model: Object.keys(Objects.types)
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: modelData
|
text: Objects.types[modelData].displayType()
|
||||||
visible: Objects.types[modelData].createable()
|
visible: Objects.types[modelData].createable()
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? implicitHeight : 0
|
||||||
icon.name: modelData
|
icon.name: modelData
|
||||||
|
|
Loading…
Reference in a new issue