1
0

revert previous commit, and fix utf8 qr code

This commit is contained in:
ThomasV
2014-09-04 19:13:43 +02:00
parent 058ad1292b
commit d7b947e30f
2 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,11 @@ class QRTextEdit(QPlainTextEdit):
def qr_show(self):
from qrcodewidget import QRDialog
QRDialog(str(self.toPlainText())).exec_()
try:
s = unicode(self.toPlainText())
except:
s = str(self.toPlainText())
QRDialog(s).exec_()
def qr_input(self):
from electrum import qrscanner