mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix: refresh list also when changes are made to item 0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user