forked from enlightenment/enlightenment
simply return when a filemanager's config is re-set instead of crashing
SVN revision: 74231
This commit is contained in:
parent
11b99c6513
commit
280cf2a008
|
@ -1332,6 +1332,7 @@ EAPI void
|
||||||
e_fm2_config_set(Evas_Object *obj, E_Fm2_Config *cfg)
|
e_fm2_config_set(Evas_Object *obj, E_Fm2_Config *cfg)
|
||||||
{
|
{
|
||||||
EFM_SMART_CHECK();
|
EFM_SMART_CHECK();
|
||||||
|
if (sd->config == cfg) return;
|
||||||
if (sd->config) _e_fm2_config_free(sd->config);
|
if (sd->config) _e_fm2_config_free(sd->config);
|
||||||
sd->config = NULL;
|
sd->config = NULL;
|
||||||
if (!cfg) return;
|
if (!cfg) return;
|
||||||
|
|
Loading…
Reference in New Issue