mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed sorting being wrong
This commit is contained in:
parent
c299ad92aa
commit
b120fc6f2f
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ void UIListCtrl::SortByColumn
|
|||
for (i = 1; i <= m_columnlist.NumObjects(); i++) {
|
||||
columndef_t& def = m_columnlist.ObjectAt(i);
|
||||
|
||||
if (def.name == i) {
|
||||
if (def.name == column) {
|
||||
numeric = def.numeric;
|
||||
reverse = def.reverse_sort;
|
||||
exists = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue