forked from enlightenment/enlightenment
parent
8adb889d90
commit
9ab2f7b1ee
|
@ -1152,17 +1152,9 @@ _auto_apply_changes(E_Config_Dialog_Data *cfdata)
|
||||||
actd = eina_list_nth(actg->acts, a);
|
actd = eina_list_nth(actg->acts, a);
|
||||||
if (!actd) return;
|
if (!actd) return;
|
||||||
|
|
||||||
eina_stringshare_del(bi->action);
|
eina_stringshare_replace(&bi->action, actd->act_cmd);
|
||||||
bi->action = NULL;
|
eina_stringshare_replace(&bi->params, actd->act_params);
|
||||||
|
if (!bi->params)
|
||||||
if (actd->act_cmd) bi->action = eina_stringshare_add(actd->act_cmd);
|
|
||||||
|
|
||||||
eina_stringshare_del(bi->params);
|
|
||||||
bi->params = NULL;
|
|
||||||
|
|
||||||
if (actd->act_params)
|
|
||||||
bi->params = eina_stringshare_add(actd->act_params);
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
ok = 1;
|
ok = 1;
|
||||||
if (cfdata->locals.params)
|
if (cfdata->locals.params)
|
||||||
|
|
Loading…
Reference in New Issue