mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:49:03 +08:00
Remove unneeded catalog
The catalog was created over and over again even though it wasn't needed. On my machine this took 0.25 seconds, so it does add up
This commit is contained in:
parent
2ed837ba71
commit
512b0a1dbe
@ -15,12 +15,6 @@ ComboBox
|
||||
{
|
||||
id: control
|
||||
|
||||
UM.I18nCatalog
|
||||
{
|
||||
id: catalog
|
||||
name: "cura"
|
||||
}
|
||||
|
||||
property var defaultTextOnEmptyModel: catalog.i18nc("@label", "No items to select from") // Text displayed in the combobox when the model is empty
|
||||
property var defaultTextOnEmptyIndex: "" // Text displayed in the combobox when the model has items but no item is selected
|
||||
enabled: delegateModel.count > 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user