diff options
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 54f657a30..f0e14f9b0 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -405,9 +405,15 @@ Kirigami.ScrollablePage { } } - function showDownloadPage() { + function showDownloadPage(vendor, product, connection) { downloadFromDc.dcImportModel.clearTable() stackView.push(downloadFromDc) + if (vendor !== undefined && product !== undefined && connection !== undefined) { + /* set up the correct values on the download page */ + downloadFromDc.vendor = vendor + downloadFromDc.product = product + downloadFromDc.connection = connection + } } property QtObject downloadFromDCAction: Kirigami.Action { |