Skip to content

Commit

Permalink
Fixed Chinese Symbol on keyboard input widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroCabrera committed Feb 7, 2024
1 parent d9d05c4 commit 9091f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyFlow/UI/Widgets/KeyboardModifiersCapture.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def resetToDefault(self):
def modifiersToString(modifiers):
if modifiers == QtCore.Qt.KeyboardModifier.NoModifier:
return "NoModifier"
return QtGui.QKeySequence(modifiers).toString()[:-1]
return QtGui.QKeySequence(modifiers).toString()[:-2]

def mousePressEvent(self, event):
if event.button() == QtCore.Qt.MouseButton.LeftButton:
Expand Down

0 comments on commit 9091f9c

Please sign in to comment.