git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
669d804
)
check to see if fiat button already exists on send tab before telling user they must...
author
Darrin Daigle
<darrin@daiglefamily.org>
Sun, 23 Mar 2014 17:58:42 +0000 (12:58 -0500)
committer
Darrin Daigle
<darrin@daiglefamily.org>
Sun, 23 Mar 2014 17:58:42 +0000 (12:58 -0500)
plugins/exchange_rate.py
patch
|
blob
|
history
diff --git
a/plugins/exchange_rate.py
b/plugins/exchange_rate.py
index
336168d
..
a8f65f2
100644
(file)
--- a/
plugins/exchange_rate.py
+++ b/
plugins/exchange_rate.py
@@
-337,7
+337,10
@@
class Plugin(BasePlugin):
out = BasePlugin.toggle(self)
self.win.update_status()
if self.config.get('use_exchange_rate'):
- self.gui.main_window.show_message("To see fiat amount when sending bitcoin, please restart Electrum to activate the new GUI settings.")
+ try:
+ self.fiat_button
+ except:
+ self.gui.main_window.show_message("To see fiat amount when sending bitcoin, please restart Electrum to activate the new GUI settings.")
return out