diff options
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index a794c5bc6..c3bb9ce2d 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -123,11 +123,11 @@ Kirigami.Page { text: qsTr("Accept") enabled: false onClicked: { - manager.appendTextToLog("Save downloaded dives") - for (var i = 0; i < importModel.rowCount(); i++) { - // figure out which ones are selected - // save the selected dive to the diveTable - } + manager.appendTextToLog("Save downloaded dives that were selected") + importModel.recordDives() + manager.saveChangesLocal() + diveModel.clear() + diveModel.addAllDives() stackView.pop(); } } |