summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tableview.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-12 09:15:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-13 21:41:41 -0400
commit73b8bd12e54f5040051f929c20b4a5d9c6788a52 (patch)
treefebccf5e3c552e01c2ccb962d43ae3ad044efd43 /desktop-widgets/tableview.cpp
parent397e818be13f2ccdf12a6bf9f7b760f30a591b93 (diff)
downloadsubsurface-73b8bd12e54f5040051f929c20b4a5d9c6788a52.tar.gz
Dive edit: always use dive site of displayed_dive in updateDiveInfo
The old code had a special case for dive-editing mode: The dive site uuid of displayed_dive_site instead of displayed_dive was used. This makes no sense, because displayed_dive_site is only used by the dive-site-edit widget, which firstly cannot be activated during dive-edit and secondly doesn't change the dive site id anyway. Thus, use the dive site of the currently edited/displayed dive in all cases. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tableview.cpp')
0 files changed, 0 insertions, 0 deletions