QML UI: make sure drawer is really closed after delete

At least one iPhone user still has the drawer pop open and prevent
them from using the undo function.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-20 06:15:15 -07:00
parent a8cfa0abf5
commit 0fcf67ca55

View file

@ -78,6 +78,7 @@ Kirigami.Page {
function() {
diveDetailsListView.currentIndex = manager.undoDelete(deletedId) ? deletedIndex : diveDetailsListView.currentIndex
});
contextDrawer.close() // at least one iPhone user has the drawer pop open after delete
}
}