Browse Source

changed to use built-in list methods

283
Jimbo77 12 years ago
parent
commit
6122898915
  1. 3
      lib/gui_lite.py

3
lib/gui_lite.py

@ -258,7 +258,8 @@ class MiniWindow(QDialog):
"""Set and display the fiat currency country.""" """Set and display the fiat currency country."""
assert currency in self.quote_currencies assert currency in self.quote_currencies
self.quote_currencies.remove(currency) 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() self.refresh_balance()
def change_quote_currency(self): def change_quote_currency(self):

Loading…
Cancel
Save