summaryrefslogtreecommitdiffstats
path: root/qt-models/divesiteimportmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-11 22:09:52 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-12 07:09:01 -0700
commit950ae951bcc948ee632946757e43fca8ce7400fe (patch)
tree578c55115030756b84a66832190f6e45f8734aac /qt-models/divesiteimportmodel.cpp
parentff68fd7c0cefa0e02e81c89a1389095b45969639 (diff)
downloadsubsurface-950ae951bcc948ee632946757e43fca8ce7400fe.tar.gz
divetripmodel: change current dive if no dives are selected
The DiveTripModelTree::divesSelected() returned early if no dives were selected. Thus, the current dive was not updated. Remove the check for no dives. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divesiteimportmodel.cpp')
0 files changed, 0 insertions, 0 deletions