Merge pull request #184

23e1638 Receive: fix null dereference (moneromooo.monero)
This commit is contained in:
Riccardo Spagni
2016-11-24 12:29:01 +02:00

View File

@@ -42,7 +42,7 @@ Rectangle {
property alias integratedAddressText : integratedAddressLine.text
function updatePaymentId(payment_id) {
if (typeof appWindow.currentWallet === 'undefined')
if (typeof appWindow.currentWallet === 'undefined' || appWindow.currentWallet == null)
return
// generate a new one if not given as argument
if (typeof payment_id === 'undefined') {