electrum

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

commit 620cc91aadf8ea93a5dab19692d13db175e59428
parent 7d8ec4338b06f3b2018dfe778695f97d3b78ae20
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 19 Apr 2015 21:37:27 +0200

receive_address: use MyLineEdit

Diffstat:
Mgui/qt/main_window.py | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -564,13 +564,12 @@ class ElectrumWindow(QMainWindow): self.receive_grid = grid = QGridLayout() grid.setColumnMinimumWidth(3, 300) - self.receive_address_e = QLineEdit() - self.receive_address_e.setReadOnly(True) + self.receive_address_e = MyLineEdit() + self.receive_address_e.setFrozen(True) self.receive_address_label = QLabel(_('Receiving address')) + self.receive_address_e.textChanged.connect(self.update_receive_qr) grid.addWidget(self.receive_address_label, 0, 0) grid.addWidget(self.receive_address_e, 0, 1, 1, 3) - self.receive_address_e.textChanged.connect(self.update_receive_qr) - self.receive_address_e.setStyleSheet("QWidget { background-color:none; border:none;}") self.copy_button = QPushButton() self.copy_button.setIcon(QIcon(":icons/copy.png"))