mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 06:49:16 +08:00
Change default theme
This new field is now read by Uranium that indicates the default theme to load first before there are any changed preferences. Contributes to issue CURA-4148.
This commit is contained in:
parent
d4e5e10825
commit
b677a81d9b
@ -205,6 +205,8 @@ class CuraApplication(QtApplication):
|
|||||||
super().__init__(name = "cura", version = CuraVersion, buildtype = CuraBuildType,
|
super().__init__(name = "cura", version = CuraVersion, buildtype = CuraBuildType,
|
||||||
tray_icon_name = "cura-icon-32.png")
|
tray_icon_name = "cura-icon-32.png")
|
||||||
|
|
||||||
|
self.default_theme = "cura-light"
|
||||||
|
|
||||||
self.setWindowIcon(QIcon(Resources.getPath(Resources.Images, "cura-icon.png")))
|
self.setWindowIcon(QIcon(Resources.getPath(Resources.Images, "cura-icon.png")))
|
||||||
|
|
||||||
self.setRequiredPlugins([
|
self.setRequiredPlugins([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user