diff --git a/electrum/gui/qml/qewallet.py b/electrum/gui/qml/qewallet.py index 28af7692a..06df648a9 100644 --- a/electrum/gui/qml/qewallet.py +++ b/electrum/gui/qml/qewallet.py @@ -395,7 +395,7 @@ class QEWallet(QObject): key = self.create_bitcoin_request(amount.satsInt, message, expiration, ignore_gap) if not key: return - self._addressModel.init_model() + self.addressModel.init_model() except InvoiceError as e: self.requestCreateError.emit('fatal',_('Error creating payment request') + ':\n' + str(e)) return