Browse Source

check if fiat button exists on send tab before updating its caption with the newly selected fiat currency

master
Darrin Daigle 12 years ago
parent
commit
7bfd170ad9
  1. 7
      plugins/exchange_rate.py

7
plugins/exchange_rate.py

@ -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…
Cancel
Save