Merge pull request #2592

163fa73 WizardOpenWallet1: fix warning (selsta)
pull/2/head
luigi1111 4 years ago
commit 5a4f27b375
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -45,7 +45,7 @@ Rectangle {
color: "transparent"
property alias pageHeight: pageRoot.height
property string viewName: "wizardOpenWallet1"
property int walletCount: walletKeysFilesModel.rowCount()
property int walletCount: walletKeysFilesModel ? walletKeysFilesModel.rowCount() : 0
ColumnLayout {
id: pageRoot
@ -69,7 +69,7 @@ Rectangle {
}
GridLayout {
visible: walletKeysFilesModel.rowCount() > 0
visible: (walletKeysFilesModel ? walletKeysFilesModel.rowCount() : 0) > 0
Layout.topMargin: 10
Layout.fillWidth: true
columnSpacing: 20