summaryrefslogtreecommitdiff
path: root/src/attach-panel-document.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/attach-panel-document.c')
-rw-r--r--src/attach-panel-document.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/attach-panel-document.c b/src/attach-panel-document.c
index a5065d2..af3b3fd 100644
--- a/src/attach-panel-document.c
+++ b/src/attach-panel-document.c
@@ -550,7 +550,7 @@ static void _doc_message(ui_gadget_h ug, app_control_h msg, app_control_h servic
ugd->attach_panel_display_mode = ATTACH_PANEL_HALF_MODE;
ugd->file_select_mode = DOC_FILE_SELECT_T_ONE;
ugd->b_multifile = false;
- doc_list_change_selection_mode(ugd, false);
+ doc_list_change_selection_mode(ugd);
ugd->thumbs_d->b_editmode = false;
elm_genlist_realized_items_update(ugd->thumbs_d->genlist);
@@ -570,13 +570,14 @@ static void _doc_message(ui_gadget_h ug, app_control_h msg, app_control_h servic
ugd->thumbs_d->tot_selected = 0;
elm_naviframe_item_title_enabled_set(ugd->nf_it, EINA_FALSE, EINA_FALSE);
+ doc_update_genlist(ugd);
} else if (display_mode && !strcmp(display_mode, "multiple")) {
doc_dbg("multiple_selection");
ugd->attach_panel_display_mode = ATTACH_PANEL_FULL_MODE;
ugd->file_select_mode = DOC_FILE_SELECT_T_MULTIPLE;
ugd->b_multifile = true;
- doc_list_change_selection_mode(ugd, true);
+ doc_list_change_selection_mode(ugd);
ugd->thumbs_d->b_editmode = true;
elm_genlist_realized_items_update(ugd->thumbs_d->genlist);