mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-03-12 09:36:59 +00:00
Receive: fix null dereference
This commit is contained in:
parent
c83336cc47
commit
23e1638bd8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue