diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-11 22:09:52 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-12 07:09:01 -0700 |
commit | 950ae951bcc948ee632946757e43fca8ce7400fe (patch) | |
tree | 578c55115030756b84a66832190f6e45f8734aac /qt-models/divesiteimportmodel.cpp | |
parent | ff68fd7c0cefa0e02e81c89a1389095b45969639 (diff) | |
download | subsurface-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