diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-02-04 14:33:34 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-02-04 14:33:34 -0500 |
| commit | 5a4f27b3751083025857546c083366d0bc5b89af (patch) | |
| tree | 48f3a4826d0387dc1987eb71a853e8ff1b175e0e /wizard | |
| parent | 35b7a5f6bb469583f1e78c9f35f154d312d99dc6 (diff) | |
| parent | 163fa733ae7c2f23b2e9e100ded0e9213b108e82 (diff) | |
| download | monzero-gui-5a4f27b3751083025857546c083366d0bc5b89af.tar.gz monzero-gui-5a4f27b3751083025857546c083366d0bc5b89af.tar.xz monzero-gui-5a4f27b3751083025857546c083366d0bc5b89af.zip | |
Merge pull request #2592
163fa73 WizardOpenWallet1: fix warning (selsta)
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardOpenWallet1.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wizard/WizardOpenWallet1.qml b/wizard/WizardOpenWallet1.qml index 466accf2..a3d0bcbc 100644 --- a/wizard/WizardOpenWallet1.qml +++ b/wizard/WizardOpenWallet1.qml @@ -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 |
