electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit df6cba5af80f6d5bc821573788f176b8668fb714
parent 3b1ece4c7000ba4132e0b737f15de0cd9abb8bea
Author: zebra-lucky <zebra.lucky@gmail.com>
Date:   Wed, 20 Mar 2019 01:46:19 +0200

fix sign message not accept rich text (#5210)

* fix sign message not accept rich text

* set no rich also to signature/encrypt msg/encrypted fields

Diffstat:
Melectrum/gui/qt/main_window.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -2334,6 +2334,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): layout = QGridLayout(d) message_e = QTextEdit() + message_e.setAcceptRichText(False) layout.addWidget(QLabel(_('Message')), 1, 0) layout.addWidget(message_e, 1, 1) layout.setRowStretch(2,3) @@ -2344,6 +2345,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): layout.addWidget(address_e, 2, 1) signature_e = QTextEdit() + signature_e.setAcceptRichText(False) layout.addWidget(QLabel(_('Signature')), 3, 0) layout.addWidget(signature_e, 3, 1) layout.setRowStretch(3,1) @@ -2400,6 +2402,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): layout = QGridLayout(d) message_e = QTextEdit() + message_e.setAcceptRichText(False) layout.addWidget(QLabel(_('Message')), 1, 0) layout.addWidget(message_e, 1, 1) layout.setRowStretch(2,3) @@ -2412,6 +2415,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): layout.addWidget(pubkey_e, 2, 1) encrypted_e = QTextEdit() + encrypted_e.setAcceptRichText(False) layout.addWidget(QLabel(_('Encrypted')), 3, 0) layout.addWidget(encrypted_e, 3, 1) layout.setRowStretch(3,1)