1
0

pay to many

This commit is contained in:
ThomasV
2015-04-26 13:16:09 +02:00
parent f88d767dea
commit f02b95c81a
2 changed files with 14 additions and 25 deletions

View File

@@ -163,6 +163,16 @@ class PayToEdit(ScanQRTextEdit):
def is_multiline(self):
return len(self.lines()) > 1
def paytomany(self):
from electrum.i18n import _
self.setText("\n\n\n")
self.update_size()
msg = '\n'.join([
_('Please enter a list of outputs.'),
_('Format: address, amount.'),
_('One output per line.')
])
QMessageBox.warning(self, _('Pay to many'), msg, _('OK'))
def update_size(self):
docHeight = self.document().size().height()