mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix qkeysequence match comparison
This commit is contained in:
parent
d936c2f4d0
commit
00f948e9ea
1 changed files with 2 additions and 2 deletions
|
|
@ -351,7 +351,7 @@ class LoaderWindow(QtWidgets.QWidget):
|
|||
def keyPressEvent(self, event):
|
||||
combination = event.keyCombination()
|
||||
if (
|
||||
FIND_KEY_SEQUENCE.matches(combination)
|
||||
FIND_KEY_SEQUENCE == combination
|
||||
and not event.isAutoRepeat()
|
||||
):
|
||||
self._search_bar.show_filters_popup()
|
||||
|
|
@ -360,7 +360,7 @@ class LoaderWindow(QtWidgets.QWidget):
|
|||
|
||||
# Grouping products on pressing Ctrl + G
|
||||
if (
|
||||
GROUP_KEY_SEQUENCE.matches(combination)
|
||||
GROUP_KEY_SEQUENCE == combination
|
||||
and not event.isAutoRepeat()
|
||||
):
|
||||
self._show_group_dialog()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue