Fix app-template keymap being ignored

This commit is contained in:
Campbell Barton 2019-07-25 16:31:02 +10:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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) {