1
0

kivy: use exchange rates in amount dialog

This commit is contained in:
ThomasV
2015-12-03 22:43:43 +01:00
parent 74a9e2296c
commit b700340ff9
5 changed files with 66 additions and 50 deletions

View File

@@ -1,3 +1,11 @@
from exchange_rate import FxPlugin
from electrum.plugins import hook
class Plugin(FxPlugin):
pass
@hook
def load_wallet(self, wallet, window):
self.window = window
def on_quotes(self):
self.print_error("on quotes", self.ccy)
self.window.fiat_unit = self.ccy