changed to use built-in list methods

This commit is contained in:
Jimbo77 2012-08-22 18:33:35 -07:00
parent e0d6570a1f
commit 6122898915
1 changed files with 2 additions and 1 deletions

View File

@ -258,7 +258,8 @@ class MiniWindow(QDialog):
"""Set and display the fiat currency country."""
assert currency in self.quote_currencies
self.quote_currencies.remove(currency)
self.quote_currencies = [currency] + self.quote_currencies
self.quote_currencies.insert(0, currency)
#self.quote_currencies = [currency] + self.quote_currencies
self.refresh_balance()
def change_quote_currency(self):