diff options
author | Jocke <j.bygdell@gmail.com> | 2018-07-29 15:42:56 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-11 11:19:07 -0700 |
commit | 0fb086a4a53dcbd90af01a9faac271d312b485cf (patch) | |
tree | fca0304609cf92a9ae1720e6b8e5f7fcea3d30dd /mobile-widgets/qmlmanager.h | |
parent | bd8eec5c8e97050b130bb2d9f02162fe189edbda (diff) | |
download | subsurface-0fb086a4a53dcbd90af01a9faac271d312b485cf.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 109f10f74..48e6540b5 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -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(); |