mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
9cc04c1ca6
commit
16d0a47853
2 changed files with 24 additions and 5 deletions
|
@ -35,6 +35,8 @@ Q_SIGNALS:
|
|||
void currentDiveChanged(int divenr);
|
||||
private:
|
||||
bool mouseClickSelection;
|
||||
int currentHeaderClicked;
|
||||
DiveTripModel::Layout currentLayout;
|
||||
};
|
||||
|
||||
#endif // DIVELISTVIEW_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue