Permalink
Browse files

Fix Tor info-button focus-policy; use Qt.NoFocus

Without this, pressing Tab on an InviteCodeWidget will switch focus to
the Tor info-button, thereby breaking tab-completion for invite-codes.
  • Loading branch information...
crwood committed Nov 5, 2018
1 parent c2cf662 commit 5a42e3ccd939579febbe6a207d603c753a5f729c
Showing with 1 addition and 0 deletions.
  1. +1 −0 gridsync/gui/invite.py
@@ -210,6 +210,7 @@ def __init__(self, parent=None):
self.tor_info_button.setFixedSize(13, 13)
self.tor_info_button.setToolTip(self.tor_info_text)
self.tor_info_button.clicked.connect(self.on_tor_info_button_clicked)
self.tor_info_button.setFocusPolicy(Qt.NoFocus)
tor_layout = QGridLayout()
tor_layout.setHorizontalSpacing(0)

0 comments on commit 5a42e3c

Please sign in to comment.