Browse Source

focus policy

283
ThomasV 10 years ago
parent
commit
32fe3ea18e
  1. 3
      gui/qt/main_window.py

3
gui/qt/main_window.py

@ -604,8 +604,9 @@ class ElectrumWindow(QMainWindow):
grid.addWidget(self.expires_combo, 3, 1) grid.addWidget(self.expires_combo, 3, 1)
self.expires_label = QLineEdit('') self.expires_label = QLineEdit('')
self.expires_label.setReadOnly(1) self.expires_label.setReadOnly(1)
self.expires_label.setFocusPolicy(Qt.NoFocus)
self.expires_label.hide() self.expires_label.hide()
grid.addWidget(self.expires_label, 3, 1) grid.addWidget(self.expires_label, 3, 1, 1, 2)
self.save_request_button = QPushButton(_('Save')) self.save_request_button = QPushButton(_('Save'))
self.save_request_button.clicked.connect(self.save_payment_request) self.save_request_button.clicked.connect(self.save_payment_request)

Loading…
Cancel
Save