Fix sub-sorting of Transfer list

Closes #12330.
This commit is contained in:
Vladimir Golovnev (Glassez) 2020-04-03 19:06:44 +03:00
parent 4b409700b0
commit b759a71c5d
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

View File

@ -96,7 +96,7 @@ bool TransferListSortModel::lessThan_impl(const QModelIndex &left, const QModelI
const auto invokeLessThanForColumn = [this, &left, &right](const int column) -> bool
{
return lessThan_impl(left.sibling(left.row(), column), right.sibling(left.row(), column));
return lessThan_impl(left.sibling(left.row(), column), right.sibling(right.row(), column));
};
const int sortColumn = left.column();