summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 92e8dd506..56617479b 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -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)