summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-12-21 20:21:56 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-10 09:25:57 -0700
commitdd8d8edc45dad1316aa5b5470247e14fb75d67e1 (patch)
tree2d0080fc49633750b46fbf65b145c44afa40f92f /mobile-widgets/qmlmanager.h
parentd55ea8f8750a7952d4e9e003bef57decc513d2d4 (diff)
downloadsubsurface-dd8d8edc45dad1316aa5b5470247e14fb75d67e1.tar.gz
mobile/divelist: don't set currentIndex on undo of dive deletion
The core sets the current dive when undoing something. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
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 482ba7ecc..5a3662bfb 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -198,7 +198,7 @@ public slots:
bool toggleTags(bool toggle);
bool toggleCylinders(bool toggle);
bool toggleWeights(bool toggle);
- bool undoDelete(int id);
+ void undoDelete(int id);
QString addDive();
void addDiveAborted(int id);
void applyGpsData();