Minor updates that make things work!

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@945 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2008-06-02 02:36:56 +00:00
parent bc4ec7d2d3
commit ebe26e0444
11 changed files with 925 additions and 871 deletions
+2 -1
View File
@@ -159,7 +159,8 @@ void ItemList::refreshList() {
sort(sorted_list.begin(), sorted_list.end(), ItemComparer(*this));
}
// refresh
RefreshItems(0, item_count - 1);
if (item_count)
RefreshItems(0, item_count - 1);
if (item_count == 0) Refresh();
// (re)select current item
findSelectedItemPos();