mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Default to 0 if we cannot find the theme
CURA-3873
This commit is contained in:
parent
37162683e5
commit
dbf0cf347c
1 changed files with 1 additions and 0 deletions
|
|
@ -237,6 +237,7 @@ UM.PreferencesPage
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
onActivated: UM.Preferences.setValue("general/theme", model.get(index).code)
|
onActivated: UM.Preferences.setValue("general/theme", model.get(index).code)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue