Commit 38be54d0 authored by twanvl's avatar twanvl

fix: refresh list also when changes are made to item 0

parent 8e64b944
......@@ -165,7 +165,7 @@ void ItemList::refreshList(bool refresh_current_only) {
}
// Has the entire list changed?
if (refresh_current_only && sorted_list == old_sorted_list) {
if (selected_item_pos > 0) RefreshItem(selected_item_pos);
if (selected_item_pos >= 0) RefreshItem(selected_item_pos);
return;
}
// refresh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment