mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 02:59:06 +08:00
Remove catalog from Textfield
The creation of the catalog is rather slow, so it's better not to create it for every component
This commit is contained in:
parent
eb7ab657fe
commit
13227249b5
@ -13,7 +13,7 @@ Item
|
||||
|
||||
property alias text: textField.text
|
||||
|
||||
signal editingFinished();
|
||||
signal editingFinished()
|
||||
|
||||
property bool readOnly: false
|
||||
|
||||
|
@ -16,9 +16,7 @@ TextField
|
||||
id: textField
|
||||
|
||||
property alias leftIcon: iconLeft.source
|
||||
|
||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||
|
||||
|
||||
hoverEnabled: true
|
||||
selectByMouse: true
|
||||
font: UM.Theme.getFont("default")
|
||||
|
Loading…
x
Reference in New Issue
Block a user