mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
WizardOpenWallet1: fix warning
This commit is contained in:
parent
46227bdad0
commit
163fa733ae
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ Rectangle {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
property alias pageHeight: pageRoot.height
|
property alias pageHeight: pageRoot.height
|
||||||
property string viewName: "wizardOpenWallet1"
|
property string viewName: "wizardOpenWallet1"
|
||||||
property int walletCount: walletKeysFilesModel.rowCount()
|
property int walletCount: walletKeysFilesModel ? walletKeysFilesModel.rowCount() : 0
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: pageRoot
|
id: pageRoot
|
||||||
|
@ -69,7 +69,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
visible: walletKeysFilesModel.rowCount() > 0
|
visible: (walletKeysFilesModel ? walletKeysFilesModel.rowCount() : 0) > 0
|
||||||
Layout.topMargin: 10
|
Layout.topMargin: 10
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
columnSpacing: 20
|
columnSpacing: 20
|
||||||
|
|
Loading…
Reference in a new issue