From 32fe3ea18ea0ac62f0e38333fabe238c3e673ee5 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 22 Apr 2015 07:26:05 +0200 Subject: [PATCH] focus policy --- gui/qt/main_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index ce0f45aa..9ceb9118 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -604,8 +604,9 @@ class ElectrumWindow(QMainWindow): grid.addWidget(self.expires_combo, 3, 1) self.expires_label = QLineEdit('') self.expires_label.setReadOnly(1) + self.expires_label.setFocusPolicy(Qt.NoFocus) 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.clicked.connect(self.save_payment_request)