mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: set indices when showing Download page
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
de8359e4f0
commit
593978a473
1 changed files with 7 additions and 1 deletions
|
@ -405,9 +405,15 @@ Kirigami.ScrollablePage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showDownloadPage() {
|
function showDownloadPage(vendor, product, connection) {
|
||||||
downloadFromDc.dcImportModel.clearTable()
|
downloadFromDc.dcImportModel.clearTable()
|
||||||
stackView.push(downloadFromDc)
|
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 {
|
property QtObject downloadFromDCAction: Kirigami.Action {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue