mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
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
1 changed files with 6 additions and 1 deletions
|
@ -430,7 +430,12 @@ class Plugin(BasePlugin):
|
|||
hist_checkbox.setChecked(False)
|
||||
hist_checkbox.setEnabled(False)
|
||||
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():
|
||||
hist_checkbox.setChecked(False)
|
||||
|
|
Loading…
Add table
Reference in a new issue