diff options
-rw-r--r-- | src/lib/elementary/elm_genlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index 22b31a9cd0..9dc9c9809a 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -3693,6 +3693,8 @@ _elm_genlist_item_del_not_serious(Elm_Gen_Item *it) sd->focused_item = NULL; if (sd->last_selected_item == eo_it) sd->last_selected_item = NULL; + if (sd->mode_item == it) + sd-> mode_item = NULL; if (it->itc->func.del) it->itc->func.del((void *)WIDGET_ITEM_DATA_GET(EO_OBJ(it)), WIDGET(it)); |