From 0fcf67ca55f9ea45b826fb343736056a8d476266 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 20 Apr 2016 06:15:15 -0700 Subject: 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 --- mobile-widgets/qml/DiveDetails.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets/qml') 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 } } -- cgit v1.2.3-70-g09d2