tfix: qrtextedit constructor - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 193e3847583e802e427e158b9fd9212f9169dde0 DIR parent 1e2277bf1ff790c0f2d5e80b3ec4ec9a573fd7d2 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 14 Jun 2014 12:25:47 +0200 fix: qrtextedit constructor Diffstat: M gui/qt/qrtextedit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/qt/qrtextedit.py b/gui/qt/qrtextedit.py t@@ -4,8 +4,8 @@ from PyQt4.QtCore import * class QRTextEdit(QTextEdit): - def __init__(self): - QTextEdit.__init__(self) + def __init__(self, text=None): + QTextEdit.__init__(self, text) self.button = QToolButton(self) self.button.setIcon(QIcon(":icons/qrcode.png")) self.button.setStyleSheet("QToolButton { border: none; padding: 0px; }")