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
This commit is contained in:
Julian Eisel
2023-11-10 11:33:15 +01:00
committed by Julian Eisel
parent 821060f75a
commit c05faeb053

View File

@@ -130,7 +130,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
}
if (!USER_VERSION_ATLEAST(400, 35)) {
memcpy(btheme, &U_theme_default, sizeof(*btheme));
FROM_DEFAULT_V4_UCHAR(tui.wcol_list_item.item);
}
/**