mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner rebreather mode
Do the switching based on the index rather than the string (which is translatable!). Update set-points when turning on/off CCR mode (remeber: the rebreather mode is stored in two places: the divemode and implicitly in the setpoitns. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
881803441e
commit
0d619d569b
2 changed files with 10 additions and 12 deletions
|
@ -90,7 +90,7 @@ slots:
|
|||
void deleteTemporaryPlan();
|
||||
void loadFromDive(dive *d);
|
||||
void emitDataChanged();
|
||||
void setRebreatherMode(QString mode);
|
||||
void setRebreatherMode(int mode);
|
||||
|
||||
signals:
|
||||
void planCreated();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue