mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Do not show the heartrate info unconditionally.
use the preferences instead. Fixes #664 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3c941c2fb2
commit
fcbe6bfc13
1 changed files with 1 additions and 3 deletions
|
@ -454,10 +454,8 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
|
|||
heartBeatAxis->setMinimum(pInfo.minhr);
|
||||
heartBeatAxis->setMaximum(pInfo.maxhr);
|
||||
heartBeatAxis->updateTicks(HR_AXIS); // this shows the ticks
|
||||
heartBeatAxis->setVisible(true);
|
||||
} else {
|
||||
heartBeatAxis->setVisible(false);
|
||||
}
|
||||
heartBeatAxis->setVisible(prefs.hrgraph && pInfo.maxhr);
|
||||
|
||||
timeAxis->setMaximum(maxtime);
|
||||
int i, incr;
|
||||
|
|
Loading…
Add table
Reference in a new issue