Mobile: add helper function to keep selection in sync

Without this the core data structure never gets updated to reflect which
dive is currently selected.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-07 22:37:31 -05:00
parent 2f0689d3b8
commit 9a73be9207
2 changed files with 10 additions and 0 deletions

View file

@ -164,6 +164,7 @@ public slots:
void openNoCloudRepo();
void saveChangesLocal();
void saveChangesCloud(bool forceRemoteSync);
void selectDive(int id);
void deleteDive(int id);
void copyDiveData(int id);
void pasteDiveData(int id);