aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-03 21:57:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-10 15:57:39 -0800
commit0146a0c8925e243d808a4e5488d068d6f8f065b6 (patch)
tree605decab19e72bb0cb21069c4a0e6002918d5e0e /commands
parent9560dbf8db668da7abf0490cd42ef416dfe65072 (diff)
downloadsubsurface-0146a0c8925e243d808a4e5488d068d6f8f065b6.tar.gz
profile: remove displayed_dive from TankItem
The only time the TankItem is replot is when new data is set. Therefore, replot() can be folded into setData(). The good thing is that setData() is passed the dive to be plot. So the data can be extracted from there instead of the global displayed_dive variable. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions