config: fix NULL access on invalid config loading

CID 1308381
This commit is contained in:
Cedric BAIL 2015-10-04 16:00:54 +02:00
parent b0bdabff51
commit 44425a748d
1 changed files with 1 additions and 1 deletions

View File

@ -1524,7 +1524,7 @@ _config_flush_get(void)
_elm_recache();
_elm_clouseau_reload();
_elm_config_key_binding_hash();
_elm_win_access(_elm_config->access_mode);
if (_elm_config) _elm_win_access(_elm_config->access_mode);
ecore_event_add(ELM_EVENT_CONFIG_ALL_CHANGED, NULL, NULL, NULL);
}