summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-10-27 15:24:51 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-10-27 16:11:20 +0200
commit8decaa1258fb2032b7146418db884302d24c0fbd (patch)
tree4df9ee165c2934e4d0eee2b8b4e9c4d3c2f8ad39
parent7b7bd7daf6a533e7d89560a27852b29515acadab (diff)
Update It_Data when changing item
-rw-r--r--src/bin/egui_gui/editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index dfbbbe0..b3ac9e7 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -2109,8 +2109,12 @@ _field_update_from_itemview(void *data EINA_UNUSED, Eo *obj, const Eo_Event_Desc
2109 2109
2110 /* Copy item with old property. Property inside item will be ref()ed*/ 2110 /* Copy item with old property. Property inside item will be ref()ed*/
2111 new_wit = item_container_item_copy(wit); 2111 new_wit = item_container_item_copy(wit);
2112 pfd->it_data->item = new_wit;
2113
2112 /* Copy property */ 2114 /* Copy property */
2113 new_prop = prop_copy(prop); 2115 new_prop = prop_copy(prop);
2116 pfd->it_data->prop = new_prop;
2117
2114 /* Assign property to item, old property will be unref()ed. */ 2118 /* Assign property to item, old property will be unref()ed. */
2115 item_container_item_prop_set(new_wit, new_prop); 2119 item_container_item_prop_set(new_wit, new_prop);
2116 2120