1
0

kivy: simplify currency dialog

This commit is contained in:
ThomasV
2017-01-24 10:45:49 +01:00
parent 132fca86b2
commit 1f350c31dd
4 changed files with 13 additions and 24 deletions

View File

@@ -2578,7 +2578,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
ex_combo = QComboBox()
def update_currencies():
currencies = sorted(self.fx.get_currencies())
currencies = sorted(self.fx.get_currencies(self.fx.get_history_config()))
ccy_combo.clear()
ccy_combo.addItems([_('None')] + currencies)
if self.fx.is_enabled():