check if fiat button exists on send tab before updating its caption with the newly selected fiat currency
This commit is contained in:
parent
bc3bcc20dc
commit
7bfd170ad9
|
@ -430,7 +430,12 @@ class Plugin(BasePlugin):
|
||||||
hist_checkbox.setChecked(False)
|
hist_checkbox.setChecked(False)
|
||||||
hist_checkbox.setEnabled(False)
|
hist_checkbox.setEnabled(False)
|
||||||
self.win.update_status()
|
self.win.update_status()
|
||||||
self.fiat_button.setText(cur_request)
|
try:
|
||||||
|
self.fiat_button
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
self.fiat_button.setText(cur_request)
|
||||||
|
|
||||||
def disable_check():
|
def disable_check():
|
||||||
hist_checkbox.setChecked(False)
|
hist_checkbox.setChecked(False)
|
||||||
|
|
Loading…
Reference in New Issue