diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-30 21:23:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-30 14:14:13 -0700 |
commit | 60b00162a9cc666a1af062d2610f28cfe7df09ae (patch) | |
tree | 8e1b0ff5f626af3e595c3eb1dc1ca33370691333 /qt-models | |
parent | ff0438a3fd25febfd8fc3ef362bbc2c2192f0006 (diff) | |
download | subsurface-60b00162a9cc666a1af062d2610f28cfe7df09ae.tar.gz |
desktop: don't replot profile when populating dive information tab
When the dive mode is changed, the profile has to be replot. This
is by a function of the TabDiveInformation. However, that function
was also executed when populating the tab. Thus, when changing dive,
the profile was plot twice.
Move the profile plotting out of the function. Ultimately, the profile
should listen to the appropriate signals itself.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions