mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 14:09:03 +08:00
Default to 0 if we cannot find the theme
CURA-3873
This commit is contained in:
parent
37162683e5
commit
dbf0cf347c
@ -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…
x
Reference in New Issue
Block a user