1
0

fix: assert fails on startup

This commit is contained in:
thomasv
2013-04-22 09:19:25 +02:00
parent 6b690d681a
commit 8e6be820b5

View File

@@ -474,7 +474,8 @@ class MiniWindow(QDialog):
def set_quote_currency(self, currency):
"""Set and display the fiat currency country."""
assert currency in self.quote_currencies
if currency not in self.quote_currencies:
return
self.quote_currencies.remove(currency)
self.quote_currencies.insert(0, currency)
self.refresh_balance()