Fix app-template keymap being ignored
This commit is contained in:
parent
e51943bd73
commit
d24300da5f
Notes:
blender-bot
2023-02-14 03:03:03 +01:00
Referenced by issue #65767, Application Template: custom useprefs are not read/written correctly
|
@ -1053,7 +1053,7 @@ void wm_homefile_read(bContext *C,
|
|||
wm_window_match_do(C, &wmbase, &bmain->wm, &bmain->wm);
|
||||
}
|
||||
|
||||
if (use_factory_settings) {
|
||||
if (use_userdef) {
|
||||
/* Clear keymaps because the current default keymap may have been initialized
|
||||
* from user preferences, which have been reset. */
|
||||
for (wmWindowManager *wm = bmain->wm.first; wm; wm = wm->id.next) {
|
||||
|
|
Loading…
Reference in New Issue