1
0

add amount keyboard

This commit is contained in:
ThomasV
2015-10-14 11:44:01 +02:00
parent 3e8cbdfba2
commit 2f543d2ad8
5 changed files with 125 additions and 24 deletions

View File

@@ -803,6 +803,15 @@ class ElectrumWindow(App):
info_bubble.show(pos, duration, width, modal=modal, exit=exit)
def amount_dialog(self, label, callback):
popup = Builder.load_file('gui/kivy/uix/ui_screens/amount.kv')
popup.ids.amount_label.text = label.text
def cb():
label.text = popup.ids.amount_label.text
callback()
popup.on_dismiss = cb
popup.open()
def password_dialog(self, f, args):
if self.wallet.use_encryption:
popup = Builder.load_file('gui/kivy/uix/ui_screens/password.kv')