mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Update item_list.cpp
This commit is contained in:
@@ -180,10 +180,10 @@ void ItemList::refreshList(bool refresh_current_only) {
|
||||
// refresh
|
||||
// Note: Freeze/Thaw makes flicker worse
|
||||
long item_count = (long)sorted_list.size();
|
||||
SetItemCount(item_count);
|
||||
if (item_count == 0) {
|
||||
Refresh();
|
||||
} else {
|
||||
SetItemCount(item_count);
|
||||
// (re)select current item
|
||||
findSelectedItemPos();
|
||||
focusNone();
|
||||
|
||||
Reference in New Issue
Block a user