treceive_address: use MyLineEdit - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 620cc91aadf8ea93a5dab19692d13db175e59428 DIR parent 7d8ec4338b06f3b2018dfe778695f97d3b78ae20 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 19 Apr 2015 21:37:27 +0200 receive_address: use MyLineEdit Diffstat: M gui/qt/main_window.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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"))