diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-29 16:46:27 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-29 16:46:27 -0300 |
commit | 16d0a47853db6b3957805443cb7f4dd520c7af78 (patch) | |
tree | 02415cbbf0a4a9f7cbea8b7251ce01d033c8e450 /qt-ui/divelistview.h | |
parent | 9cc04c1ca65424bb0c32aad17be80dd6887b4c65 (diff) | |
download | subsurface-16d0a47853db6b3957805443cb7f4dd520c7af78.tar.gz |
Fixed the regression of selection not being stored from table to tree
This fixes the regression that I caused in the last commit,
where the selection was being correctly reestored from tree-to-table,
but it was incorrectly being restored from table-to-tree.
I also added a bit of speedup on the view while changing columns.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index 35c401a20..6f22597f6 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -35,6 +35,8 @@ Q_SIGNALS: void currentDiveChanged(int divenr); private: bool mouseClickSelection; + int currentHeaderClicked; + DiveTripModel::Layout currentLayout; }; #endif // DIVELISTVIEW_H |