QML UI: stub out saving downloaded dives
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4ad02634e9
commit
057f46f854
@ -35,6 +35,7 @@ Kirigami.Page {
|
||||
|
||||
onFinished : {
|
||||
importModel.repopulate()
|
||||
acceptButton.enabled = true
|
||||
manager.appendTextToLog("DCDownloadThread finished")
|
||||
}
|
||||
}
|
||||
@ -118,14 +119,15 @@ Kirigami.Page {
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
Button {
|
||||
id: acceptButton
|
||||
text: qsTr("Accept")
|
||||
enabled: false
|
||||
onClicked: {
|
||||
stackView.pop();
|
||||
}
|
||||
}
|
||||
Button {
|
||||
text: qsTr("Quit")
|
||||
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
|
||||
}
|
||||
stackView.pop();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user