From 37c146435d22061e4db10f641cd99c71a4bb869f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 22 Sep 2015 12:36:41 -0400 Subject: [PATCH] only unpopulate a shelf when applying new settings if the shelf won't be recreated --- src/bin/e_int_shelf_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_int_shelf_config.c b/src/bin/e_int_shelf_config.c index 6c21944..1771369 100644 --- a/src/bin/e_int_shelf_config.c +++ b/src/bin/e_int_shelf_config.c @@ -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); -- 2.7.4