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
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user