aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-01 18:03:30 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-01 18:03:30 +0200
commitc0082ac6596e70a90609c4bb5a9ecc7fed2dccde (patch)
tree2e03ebc049c3a792f8f6cf8c760ba1a39bb5ced3 /lib
parent6d9b3d434d09a9abab5f9618560f21a5d06c2a8a (diff)
downloadsynthpod-c0082ac6596e70a90609c4bb5a9ecc7fed2dccde.tar.xz
add work around for bug in elementary1.8 genlist.
Diffstat (limited to 'lib')
-rw-r--r--lib/synthpod_ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/synthpod_ui.c b/lib/synthpod_ui.c
index 7249bae1..f1809a50 100644
--- a/lib/synthpod_ui.c
+++ b/lib/synthpod_ui.c
@@ -2406,9 +2406,6 @@ _modlist_expanded(void *data, Evas_Object *obj, void *event_info)
group->children = eina_list_append(group->children, prop);
}
- // extract all groups by default
- eina_hash_foreach(mod->groups, _groups_foreach, NULL);
-
// presets
elmnt = elm_genlist_item_append(ui->modlist, ui->psetitc, mod, itm,
ELM_GENLIST_ITEM_TREE, NULL, NULL);
@@ -2418,6 +2415,9 @@ _modlist_expanded(void *data, Evas_Object *obj, void *event_info)
elmnt = elm_genlist_item_append(ui->modlist, ui->stditc, NULL, itm,
ELM_GENLIST_ITEM_NONE, NULL, NULL);
elm_genlist_item_select_mode_set(elmnt, ELM_OBJECT_SELECT_MODE_NONE);
+
+ // extract all groups by default
+ eina_hash_foreach(mod->groups, _groups_foreach, NULL);
}
else if(class == ui->grpitc) // is group
{