mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: enable editing of weight
But only if there is only one weight system defined in the dive. Otherwise display a read only text that explains that this cannot be edited. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ad7fb80d0a
commit
a4ec520601
4 changed files with 26 additions and 5 deletions
|
|
@ -70,10 +70,10 @@ public slots:
|
|||
void loadDivesWithValidCredentials();
|
||||
void loadDiveProgress(int percent);
|
||||
void provideAuth(QNetworkReply *reply, QAuthenticator *auth);
|
||||
QString commitChanges(QString diveId,QString date, QString location,
|
||||
QString commitChanges(QString diveId, QString date, QString location,
|
||||
QString gps, QString duration, QString depth,
|
||||
QString airtemp, QString watertemp, QString suit,
|
||||
QString buddy, QString diveMaster, QString notes);
|
||||
QString buddy, QString diveMaster, QString weight, QString notes);
|
||||
|
||||
void saveChanges();
|
||||
QString addDive();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue