1
0

qml: refactor OpenChannel to dialog, fix lifecycle/race conditions swap & openchannel

This commit is contained in:
Sander van Grieken
2022-11-30 15:10:35 +01:00
parent 56e37f74d4
commit ffcd533a8d
6 changed files with 253 additions and 224 deletions

View File

@@ -71,7 +71,7 @@ class QEChannelOpener(QObject, AuthMixin):
@amount.setter
def amount(self, amount: QEAmount):
if self._amount != amount:
self._amount = amount
self._amount.copyFrom(amount)
self.amountChanged.emit()
self.validate()