mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
lint
This commit is contained in:
parent
6567017512
commit
b549542f18
1 changed files with 8 additions and 4 deletions
|
@ -98,8 +98,10 @@ UM.PreferencesPage
|
|||
|
||||
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
||||
|
||||
onTextChanged: {
|
||||
if (text !== lastFilterText) {
|
||||
onTextChanged:
|
||||
{
|
||||
if (text !== lastFilterText)
|
||||
{
|
||||
lastFilterText = text;
|
||||
definitionsModel.filter = {"i18n_label|i18n_description": "*" + text};
|
||||
}
|
||||
|
@ -155,8 +157,10 @@ UM.PreferencesPage
|
|||
property Component settingVisibilityCategory: Cura.SettingVisibilityCategory {}
|
||||
property Component settingVisibilityItem: Cura.SettingVisibilityItem {}
|
||||
|
||||
delegate: Component {
|
||||
Loader {
|
||||
delegate: Component
|
||||
{
|
||||
Loader
|
||||
{
|
||||
id: loader
|
||||
width: settingsListView.width - scrollBar.width
|
||||
height: model.type !== undefined ? UM.Theme.getSize("section").height : 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue