Fix a crash when insep is 0

This commit is contained in:
smallmodel 2024-09-13 19:05:30 +02:00
parent 34aeab5f77
commit 9fc4c67187
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -208,7 +208,7 @@ void UIListCtrl::MousePressed
m_sizestate.column = closesep;
m_sizestate.min = closeatleft - m_columnlist.ObjectAt(closesep).width;
uWinMan.setFirstResponder(this);
} else {
} else if (insep) {
SortByColumn(m_columnlist.ObjectAt(insep).name);
}
}