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:
Jaime van Kessel 2021-10-08 18:17:18 +02:00
parent 2ed837ba71
commit 512b0a1dbe

View file

@ -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