summaryrefslogtreecommitdiff
path: root/src/bin/egui_gui/propview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/egui_gui/propview.c')
-rw-r--r--src/bin/egui_gui/propview.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/bin/egui_gui/propview.c b/src/bin/egui_gui/propview.c
index e366143..84c79fa 100644
--- a/src/bin/egui_gui/propview.c
+++ b/src/bin/egui_gui/propview.c
@@ -502,13 +502,23 @@ _prop_field_update(const Gui_Widget_Property *prop, Eo *item_box, It_Data *it_da
502 break; 502 break;
503 } 503 }
504 case GUI_TYPE_FILE: 504 case GUI_TYPE_FILE:
505 {
506 Dep_Id *dep_id = DEP_ID_GET(prop_value_nth_get(prop, i));
507 const char *default_str = PROP_HOVERSEL_NONE_VALUE;
508 if (dep_id)
509 default_str = dep_name_get(dep_id);
510 eo_do(o, elm_obj_widget_part_text_set(NULL, default_str));
511 break;
512 }
505 case GUI_TYPE_OBJECT: 513 case GUI_TYPE_OBJECT:
506 { 514 {
515 eo_do(o, elm_obj_hoversel_clear());
516 props_hoversel_objects_add(NULL, o, NULL, NULL, gui_context_wdg_list_get(wdg_context_get(it_data->wdg)), it_data->wdg);
507 Dep_Id *dep_id = DEP_ID_GET(prop_value_nth_get(prop, i)); 517 Dep_Id *dep_id = DEP_ID_GET(prop_value_nth_get(prop, i));
508 const char *default_str = PROP_HOVERSEL_NONE_VALUE; 518 const char *default_str = PROP_HOVERSEL_NONE_VALUE;
509 if (dep_id) 519 if (dep_id)
510 default_str = dep_name_get(dep_id); 520 default_str = dep_name_get(dep_id);
511 elm_object_text_set(o, default_str); 521 eo_do(o, elm_obj_widget_part_text_set(NULL, default_str));
512 break; 522 break;
513 } 523 }
514 case GUI_TYPE_DOUBLE: 524 case GUI_TYPE_DOUBLE: