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:
parent
c83336cc47
commit
23e1638bd8
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user