mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner: correctly deal with units in Ascent/descent rates
This adds two changes a) it uses rint() to make sure we don't truncate the displayed values b) it moves the update of the displayed values into a helper function that is also called whenever the settings change Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
13b8680b0c
commit
24472a3b23
2 changed files with 12 additions and 6 deletions
|
|
@ -169,6 +169,7 @@ slots:
|
|||
|
||||
private:
|
||||
Ui::plannerSettingsWidget ui;
|
||||
void updateUnitsUI();
|
||||
};
|
||||
|
||||
QString dpGasToStr(const divedatapoint &p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue