1
0

kivy: minor fixes

This commit is contained in:
ThomasV
2016-02-18 18:52:49 +01:00
parent 43b78ab0e1
commit b68e3608c9
4 changed files with 14 additions and 10 deletions

View File

@@ -681,6 +681,14 @@ class ElectrumWindow(App):
d = TxDialog(self, tx)
d.open()
def broadcast(self, tx):
if self.network and self.network.is_connected():
self.show_info(_('Sending'))
ok, txid = self.wallet.sendtx(self.tx)
self.show_info(txid)
else:
self.show_info(_('Cannot broadcast transaction') + '\n' + _('Not connected'))
def address_dialog(self, screen):
pass