1
0

Fix status bar FX balance display

This commit is contained in:
Neil Booth
2015-09-06 14:16:54 +09:00
parent 34ce6d1821
commit 1d35954541
2 changed files with 20 additions and 46 deletions

View File

@@ -519,10 +519,8 @@ class ElectrumWindow(QMainWindow):
text += " [%s unmatured]"%(self.format_amount(x, True).strip())
# append fiat balance and price from exchange rate plugin
r = {}
run_hook('get_fiat_status_text', c+u, r)
quote = r.get(0)
if quote:
text += "%s"%quote
run_hook('get_fiat_status_text', c + u + x, r)
text += r['text']
icon = QIcon(":icons/status_connected.png")
else:
text = _("Not connected")