git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1e2277b
)
fix: qrtextedit constructor
author
ThomasV
<thomasv@gitorious>
Sat, 14 Jun 2014 10:25:47 +0000 (12:25 +0200)
committer
ThomasV
<thomasv@gitorious>
Sat, 14 Jun 2014 10:25:47 +0000 (12:25 +0200)
gui/qt/qrtextedit.py
patch
|
blob
|
history
diff --git
a/gui/qt/qrtextedit.py
b/gui/qt/qrtextedit.py
index
742b97e
..
d4308e4
100644
(file)
--- a/
gui/qt/qrtextedit.py
+++ b/
gui/qt/qrtextedit.py
@@
-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; }")