changed to use built-in list methods
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user