Skip to content
Snippets Groups Projects
Commit c05faeb0 authored by Julian Eisel's avatar Julian Eisel Committed by Julian Eisel
Browse files

Fix #114432: Custom themes overridden by default theme

Code was copying the default theme over the active theme, instead of
selectively updating a single theme option to fix #113683.

Pull Request: https://projects.blender.org/blender/blender/pulls/114675
parent 821060f7
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) ...@@ -130,7 +130,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
} }
if (!USER_VERSION_ATLEAST(400, 35)) { if (!USER_VERSION_ATLEAST(400, 35)) {
memcpy(btheme, &U_theme_default, sizeof(*btheme)); FROM_DEFAULT_V4_UCHAR(tui.wcol_list_item.item);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment