Merge pull request #3593 from SomberNight/scan_qr_textedit_allow_multi
ScanQRTextEdit optionally allows to concat data
This commit is contained in:
@@ -2423,7 +2423,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||
vbox = QVBoxLayout(d)
|
||||
vbox.addWidget(QLabel(_("Enter private keys:")))
|
||||
|
||||
keys_e = ScanQRTextEdit()
|
||||
keys_e = ScanQRTextEdit(allow_multi=True)
|
||||
keys_e.setTabChangesFocus(True)
|
||||
vbox.addWidget(keys_e)
|
||||
|
||||
@@ -2473,7 +2473,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||
self.warn_if_watching_only()
|
||||
|
||||
def _do_import(self, title, msg, func):
|
||||
text = text_dialog(self, title, msg + ' :', _('Import'))
|
||||
text = text_dialog(self, title, msg + ' :', _('Import'),
|
||||
allow_multi=True)
|
||||
if not text:
|
||||
return
|
||||
bad = []
|
||||
|
||||
Reference in New Issue
Block a user