1
0

qt: fix password passed to open_channel, cleanup

This commit is contained in:
ThomasV
2018-05-25 11:08:48 +02:00
parent 6ac15962dc
commit 5a819611c8
3 changed files with 14 additions and 17 deletions

View File

@@ -1582,6 +1582,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
return func(self, *args, **kwargs)
return request_password
@protected
def protect(self, func, args, password):
return func(*args, password)
def is_send_fee_frozen(self):
return self.fee_e.isVisible() and self.fee_e.isModified() \
and (self.fee_e.text() or self.fee_e.hasFocus())