Skip to content

Commit

Permalink
BUG: Jog mode buttons should not grab focus. Fixes kcjengr/probe_basic#5
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtJacobson committed Dec 4, 2019
1 parent 989e5a3 commit 9bb4849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qtpyvcp/widgets/input_widgets/jog_increment.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def __init__(self, parent=None, standalone=False):

button.setCheckable(True)
button.setAutoExclusive(True)
button.setFocusPolicy(Qt.NoFocus)
button.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
button.setMinimumSize(50, 42)

Expand Down

0 comments on commit 9bb4849

Please # to comment.