summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index b048d4f2d..25cbccdd4 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -445,7 +445,10 @@ Kirigami.ScrollablePage {
Component.onCompleted: {
manager.appendTextToLog("finished setting up the diveListView")
}
- onVisibleChanged: setupActions()
+ onVisibleChanged: {
+ if (visible)
+ setupActions()
+ }
}
property QtObject downloadFromDCAction: Kirigami.Action {