QML: fix warnings

This commit is contained in:
selsta
2019-07-01 23:19:29 +02:00
parent c7956f76ea
commit c34a2b43fc
3 changed files with 5 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ Rectangle {
labelFontSize: 14
copyButton: false
readOnly: true
text: Utils.roundDownToNearestThousand(wizardController.m_wallet.walletCreationHeight)
text: Utils.roundDownToNearestThousand(wizardController.m_wallet ? wizardController.m_wallet.walletCreationHeight : 0)
}
MoneroComponents.WarningBox {