Fix: Reset to the default theme not auto-saved
T64679 mention a desire for a solution that is not in a per-case basis. However until then we are still better off with this working then not. Specially since changing individual theme elements works, while reset theme was not working.
This commit is contained in:
parent
10260fc773
commit
9be7c831f6
|
@ -48,7 +48,7 @@ static int reset_default_theme_exec(bContext *C, wmOperator *UNUSED(op))
|
|||
UI_theme_init_default();
|
||||
UI_style_init_default();
|
||||
WM_event_add_notifier(C, NC_WINDOW, NULL);
|
||||
|
||||
U.runtime.is_dirty = true;
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue