mirror of https://github.com/BOINC/boinc.git
MGR: Fix a bug in setting column order which I introduced in my previous 2 commits.
This commit is contained in:
parent
dfe4544b58
commit
fd5fe4c7ee
|
@ -377,7 +377,8 @@ void CBOINCListCtrl::SetListColumnOrder(wxArrayString& orderArray) {
|
|||
}
|
||||
|
||||
#ifdef wxHAS_LISTCTRL_COLUMN_ORDER
|
||||
if ((shownColCount > 0) && (shownColCount <= stdCount) && (colCount > 0)) {
|
||||
colCount = GetColumnCount();
|
||||
if ((shownColCount > 0) && (shownColCount <= stdCount) && (colCount == shownColCount)) {
|
||||
SetColumnsOrder(aOrder);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue