mobile/divelist: remove showDiveIndex QML-function

The currently shown dive is now controlled by the core.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Berthold Stoeger 2019-12-21 20:17:05 +01:00 committed by Dirk Hohndel
parent c34b7857fc
commit d55ea8f875
3 changed files with 0 additions and 9 deletions

View file

@ -229,11 +229,6 @@ Kirigami.Page {
}
}
function showDiveIndex(id) {
currentIndex = swipeModel.getIdxForId(id);
diveDetailsListView.positionViewAtIndex(currentIndex, ListView.End);
}
function endEditMode() {
// if we were adding a dive, we need to remove it
if (state === "add")