From c34a2b43fc0be8ba9ca0a3019c0cb99e2cd26d5d Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 1 Jul 2019 23:19:29 +0200 Subject: QML: fix warnings --- wizard/WizardCreateWallet1.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wizard') diff --git a/wizard/WizardCreateWallet1.qml b/wizard/WizardCreateWallet1.qml index 577243c3..f5090114 100644 --- a/wizard/WizardCreateWallet1.qml +++ b/wizard/WizardCreateWallet1.qml @@ -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 { -- cgit v1.2.3