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
commit 08fb140730
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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') {