diff --git a/gui/qt/qrtextedit.py b/gui/qt/qrtextedit.py index b182c0274..4a90514f9 100644 --- a/gui/qt/qrtextedit.py +++ b/gui/qt/qrtextedit.py @@ -9,7 +9,7 @@ from util import ButtonsTextEdit class ShowQRTextEdit(ButtonsTextEdit): def __init__(self, text=None): - ButtonsTextEdit__init__(self, text) + ButtonsTextEdit.__init__(self, text) self.setReadOnly(1) self.addButton(":icons/qrcode.png", self.qr_show, _("Show as QR code")) run_hook('show_text_edit', self)