1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-22 03:15:52 +01:00

Receive: fix null dereference

This commit is contained in:
moneromooo.monero 2016-11-18 19:38:26 +00:00
parent c83336cc47
commit 23e1638bd8

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