mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: fix saving new dive
With the new setup we need to know which state we are coming from when we are saving cylinder related info. When we are adding a new dive we explicitly should save cylinder data to the first cylinder. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
bd8eec5c8e
commit
0fb086a4a5
3 changed files with 8 additions and 7 deletions
|
|
@ -158,7 +158,7 @@ public slots:
|
|||
QString duration, QString depth, QString airtemp,
|
||||
QString watertemp, QString suit, QString buddy,
|
||||
QString diveMaster, QString weight, QString notes, QStringList startpressure,
|
||||
QStringList endpressure, QStringList gasmix, QStringList usedCylinder, int rating, int visibility);
|
||||
QStringList endpressure, QStringList gasmix, QStringList usedCylinder, int rating, int visibility, QString state);
|
||||
void changesNeedSaving();
|
||||
void openNoCloudRepo();
|
||||
void saveChangesLocal();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue