mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 07:44:22 +08:00
Allow spaces in separator name
This commit is contained in:
parent
18263220ff
commit
fa091a48b9
@ -74,7 +74,7 @@ Item
|
|||||||
property var modelText: model.text
|
property var modelText: model.text
|
||||||
property var extensionName: name
|
property var extensionName: name
|
||||||
|
|
||||||
sourceComponent: modelText == "" ? extensionsMenuSeparator : extensionsMenuItem
|
sourceComponent: modelText.trim() == "" ? extensionsMenuSeparator : extensionsMenuItem
|
||||||
}
|
}
|
||||||
|
|
||||||
onObjectAdded: sub_menu.insertItem(index, object.item)
|
onObjectAdded: sub_menu.insertItem(index, object.item)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user