mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update ceiling when changing dive mode
Without this patch, the user effectively cannot change the dive mode as any change is overwritten by replot copying current_dive over displayed_dive. The way out is not to call replot but only update the deco ceiling directly. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c70ba77199
commit
1e45858ee6
3 changed files with 7 additions and 1 deletions
|
@ -82,6 +82,7 @@ public:
|
|||
double getFontPrintScale();
|
||||
void setFontPrintScale(double scale);
|
||||
void clearHandlers();
|
||||
void recalcCeiling();
|
||||
void setToolTipVisibile(bool visible);
|
||||
State currentState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue