mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 15:35:53 +08:00
Revert onTextChange
This commit is contained in:
parent
3b5432912c
commit
7204cdfa96
@ -98,15 +98,7 @@ UM.PreferencesPage
|
|||||||
|
|
||||||
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
||||||
|
|
||||||
onTextChanged:
|
onTextChanged: definitionsModel.filter = {"i18n_label|i18n_description": "*" + text}
|
||||||
{
|
|
||||||
if (text !== lastFilterText)
|
|
||||||
{
|
|
||||||
lastFilterText = text;
|
|
||||||
definitionsModel.filter = {"i18n_label|i18n_description": "*" + text};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
property string lastFilterText: ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.ComboBox
|
Cura.ComboBox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user