mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remember the column we are sorting by
A call to DiveListView::reload always reset our sortcolumn to be 0. Instead we are tracking the correct sort column and sort direction. This also removes an obsolete private member that was unused. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
eaa0d647b7
commit
01d515b5d8
2 changed files with 9 additions and 5 deletions
|
@ -48,7 +48,8 @@ signals:
|
|||
|
||||
private:
|
||||
bool mouseClickSelection;
|
||||
int currentHeaderClicked;
|
||||
int sortColumn;
|
||||
Qt::SortOrder currentOrder;
|
||||
DiveTripModel::Layout currentLayout;
|
||||
QLineEdit *searchBox;
|
||||
QModelIndex contextMenuIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue