mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
Dive list: remember the current sort colum
Silly bug. We never actually remembered our current sort column when changing the sort order. See #518 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
54592fdcfa
commit
a85023a661
1 changed files with 2 additions and 0 deletions
|
@ -309,6 +309,8 @@ void DiveListView::headerClicked(int i)
|
|||
}
|
||||
}
|
||||
restoreSelection();
|
||||
// remember the new sort column
|
||||
sortColumn = i;
|
||||
}
|
||||
|
||||
void DiveListView::reload(DiveTripModel::Layout layout, bool forceSort)
|
||||
|
|
Loading…
Add table
Reference in a new issue