Skip to content

Commit

Permalink
Make setShortcut arg an explicit QKeySequence. (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcipriano authored Aug 2, 2021
1 parent dd8dfbe commit 606d7d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cuegui/cuegui/FrameMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import math

from PySide2 import QtCore
from PySide2 import QtGui
from PySide2 import QtWidgets

import FileSequence
Expand Down Expand Up @@ -440,7 +441,7 @@ def _filterStatusSetup(self, layout):
if item[0] != "Clear":
a.setCheckable(True)
if item[1]:
a.setShortcut(item[1])
a.setShortcut(QtGui.QKeySequence(item[1]))
menu.addAction(a)
else:
menu.addSeparator()
Expand Down

0 comments on commit 606d7d4

Please sign in to comment.