diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/main.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index f74b28b71..069024cc8 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -612,7 +612,13 @@ if you have network connectivity and want to sync your data to cloud storage."), } onPluggedInDeviceNameChanged: { - console.log("Show download page for device " + pluggedInDeviceName); + if (detailsWindow.state === 'edit' || detailsWindow.state === 'add') { + /* we're in the middle of editing / adding a dive */ + console.log("Download page requested by Android Intent, but adding/editing dive; no action taken") + } else { + console.log("Show download page for device " + pluggedInDeviceName) + diveList.showDownloadPage() + } } Component.onCompleted: { |