summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-15 20:29:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-15 20:29:14 -0700
commit327ea3aca4ca5ced8593f702de4f68603a8dad22 (patch)
tree9f8f64d2ba3964aecdd274d96c04cbeffc818144 /qt-ui/models.cpp
parent5440d0c39fd844b013a98e9c2b1bece6ef8b0c41 (diff)
downloadsubsurface-327ea3aca4ca5ced8593f702de4f68603a8dad22.tar.gz
Dive equipment edit - fix logic for applying changes
We keep getting this wrong. First you check all selected dives that are not the current dive, make sure the equipment was the same before the edit and then apply the changes. Then, when you are done with ALL of them, then you change the current dive. Otherwise you cannot compare to the 'before' state anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
0 files changed, 0 insertions, 0 deletions