aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-20 06:15:15 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-20 07:42:10 -0700
commit0fcf67ca55f9ea45b826fb343736056a8d476266 (patch)
tree32766c1081e2c53f0ac1eb65e37e96fffa5589db
parenta8cfa0abf53fc0de5457d6db6c743958d50a5041 (diff)
downloadsubsurface-0fcf67ca55f9ea45b826fb343736056a8d476266.tar.gz
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>
-rw-r--r--mobile-widgets/qml/DiveDetails.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 2354ef14d..3f42a1ed5 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -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
}
}