only unpopulate a shelf when applying new settings if the shelf won't be recreated

This commit is contained in:
Mike Blumenkrantz 2015-09-22 12:36:41 -04:00
parent 8a1634266c
commit ff1408c040
1 changed files with 2 additions and 1 deletions

View File

@ -347,7 +347,8 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
}
}
e_gadcon_unpopulate(cfdata->es->gadcon);
if (!recreate)
e_gadcon_unpopulate(cfdata->es->gadcon);
if (!cfdata->escfg->style)
{
cfdata->escfg->style = eina_stringshare_ref(cfdata->style);