mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile UI: use undo-command for adding dive.
Instead of using the model, copy the code we have in the desktop version which manually creates a 15m/40min dive and passes that to the addDive undo command. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2ad7b26f4b
commit
5493e7cbf6
3 changed files with 21 additions and 13 deletions
|
@ -200,8 +200,7 @@ public slots:
|
|||
bool toggleCylinders(bool toggle);
|
||||
bool toggleWeights(bool toggle);
|
||||
void undoDelete(int id);
|
||||
QString addDive();
|
||||
void addDiveAborted(int id);
|
||||
int addDive();
|
||||
void applyGpsData();
|
||||
void populateGpsData();
|
||||
void cancelDownloadDC();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue