mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix shortcut key sequence check (#4694)
This commit is contained in:
parent
d0f083ec19
commit
0f6d969867
1 changed files with 3 additions and 1 deletions
|
|
@ -439,7 +439,9 @@ class PublisherWindow(QtWidgets.QDialog):
|
|||
event.accept()
|
||||
return
|
||||
|
||||
if event.matches(ResetKeySequence):
|
||||
if ResetKeySequence.matches(
|
||||
QtGui.QKeySequence(event.key() | event.modifiers())
|
||||
):
|
||||
if not self.controller.publish_is_running:
|
||||
self.reset()
|
||||
event.accept()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue