mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 12:05:54 +08:00
lint
This commit is contained in:
parent
6567017512
commit
b549542f18
@ -98,8 +98,10 @@ UM.PreferencesPage
|
|||||||
|
|
||||||
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
||||||
|
|
||||||
onTextChanged: {
|
onTextChanged:
|
||||||
if (text !== lastFilterText) {
|
{
|
||||||
|
if (text !== lastFilterText)
|
||||||
|
{
|
||||||
lastFilterText = text;
|
lastFilterText = text;
|
||||||
definitionsModel.filter = {"i18n_label|i18n_description": "*" + text};
|
definitionsModel.filter = {"i18n_label|i18n_description": "*" + text};
|
||||||
}
|
}
|
||||||
@ -155,8 +157,10 @@ UM.PreferencesPage
|
|||||||
property Component settingVisibilityCategory: Cura.SettingVisibilityCategory {}
|
property Component settingVisibilityCategory: Cura.SettingVisibilityCategory {}
|
||||||
property Component settingVisibilityItem: Cura.SettingVisibilityItem {}
|
property Component settingVisibilityItem: Cura.SettingVisibilityItem {}
|
||||||
|
|
||||||
delegate: Component {
|
delegate: Component
|
||||||
Loader {
|
{
|
||||||
|
Loader
|
||||||
|
{
|
||||||
id: loader
|
id: loader
|
||||||
width: settingsListView.width - scrollBar.width
|
width: settingsListView.width - scrollBar.width
|
||||||
height: model.type !== undefined ? UM.Theme.getSize("section").height : 0
|
height: model.type !== undefined ? UM.Theme.getSize("section").height : 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user