summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-25 16:42:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-11 16:22:27 -0700
commit0cca36377b01fc10063ecc67f5471ce80d133991 (patch)
treeea578d41d66234cf848b0873f46f2140e1675107 /qt-models/divelocationmodel.cpp
parent3c6cdfd8c02e215f98986cbb74b33f58e47fe632 (diff)
downloadsubsurface-0cca36377b01fc10063ecc67f5471ce80d133991.tar.gz
Dive list: retain selection on moval of dives
The current code cheats when it comes to move dives inside a trip or move dives between trips: Instead of using the *MoveRows() functionality, the dives are removed from and re-added to the respective trips. This loses the selection. Therefore, remember which of the moved dives are selected and select them manually after they are re-added. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
0 files changed, 0 insertions, 0 deletions