rendered paste bodyIndex: apps/gui/list.c
===================================================================
--- apps/gui/list.c (revision 16409)
+++ apps/gui/list.c (working copy)
@@ -1184,9 +1184,8 @@
}
if (action == ACTION_STD_CANCEL)
break;
- else if ((action == ACTION_NONE) ||
- (action == ACTION_REDRAW) ||
- (old_line_count != simplelist_line_count))
+ else if ((action == ACTION_REDRAW) ||
+ ((action == ACTION_NONE) && old_line_count != simplelist_line_count))
{
if (info->get_name == NULL)
gui_synclist_set_nb_items(&lists, simplelist_line_count*info->selection_size);