simply return when a filemanager's config is re-set instead of crashing

SVN revision: 74231
This commit is contained in:
Mike Blumenkrantz 2012-07-20 10:41:09 +00:00
parent 11b99c6513
commit 280cf2a008
1 changed files with 1 additions and 0 deletions

View File

@ -1332,6 +1332,7 @@ EAPI void
e_fm2_config_set(Evas_Object *obj, E_Fm2_Config *cfg)
{
EFM_SMART_CHECK();
if (sd->config == cfg) return;
if (sd->config) _e_fm2_config_free(sd->config);
sd->config = NULL;
if (!cfg) return;