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>
This commit is contained in:
Robert Helling 2016-04-11 21:10:46 +02:00 committed by Dirk Hohndel
parent e1af20728e
commit 7bca367c57
3 changed files with 6 additions and 4 deletions

View file

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