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>
This commit is contained in:
Berthold Stoeger 2019-12-21 20:21:56 +01:00 committed by Dirk Hohndel
parent d55ea8f875
commit dd8d8edc45
3 changed files with 3 additions and 5 deletions

View file

@ -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();