Browse Source

Fix sub-sorting of Transfer list

Closes #12330.
adaptive-webui-19844
Vladimir Golovnev (Glassez) 5 years ago
parent
commit
b759a71c5d
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/gui/transferlistsortmodel.cpp

2
src/gui/transferlistsortmodel.cpp

@ -96,7 +96,7 @@ bool TransferListSortModel::lessThan_impl(const QModelIndex &left, const QModelI @@ -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();

Loading…
Cancel
Save