git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bc3bcc2
)
check if fiat button exists on send tab before updating its caption with the newly...
author
Darrin Daigle
<darrin@daiglefamily.org>
Sun, 23 Mar 2014 18:33:54 +0000 (13:33 -0500)
committer
Darrin Daigle
<darrin@daiglefamily.org>
Sun, 23 Mar 2014 18:33:54 +0000 (13:33 -0500)
plugins/exchange_rate.py
patch
|
blob
|
history
diff --git
a/plugins/exchange_rate.py
b/plugins/exchange_rate.py
index
a8f65f2
..
06a5822
100644
(file)
--- a/
plugins/exchange_rate.py
+++ b/
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)