mirror of
https://github.com/monero-project/monero-gui
synced 2025-03-27 03:52:44 +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
|
property alias integratedAddressText : integratedAddressLine.text
|
||||||
|
|
||||||
function updatePaymentId(payment_id) {
|
function updatePaymentId(payment_id) {
|
||||||
if (typeof appWindow.currentWallet === 'undefined')
|
if (typeof appWindow.currentWallet === 'undefined' || appWindow.currentWallet == null)
|
||||||
return
|
return
|
||||||
// generate a new one if not given as argument
|
// generate a new one if not given as argument
|
||||||
if (typeof payment_id === 'undefined') {
|
if (typeof payment_id === 'undefined') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user