summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Robert Helling <helling@atdotde.de>2016-04-11 21:10:46 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-11 12:41:41 -0700
commit7bca367c57af95bd7b863e398f810b2efe38878c (patch)
tree518508e9494ef843a8f28cf6dd2ab90ea636ed03 /mobile-widgets/qmlmanager.h
parente1af20728e76acbc3cd6e5e4b8cfbbd31a70f028 (diff)
downloadsubsurface-7bca367c57af95bd7b863e398f810b2efe38878c.tar.gz
Upon undoing a dive deletion select that dive
Before it had the next dive still selected. Fixes #1053 Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 9609baddf..6a0ba455b 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -103,7 +103,7 @@ public slots:
void saveChangesLocal();
void saveChangesCloud(bool forceRemoteSync);
void deleteDive(int id);
- void undoDelete(int id);
+ bool undoDelete(int id);
QString addDive();
void addDiveAborted(int id);
void applyGpsData();