mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #873 from BigRoy/bugfix/maya_scriptsmenu_2025
Maya 2025: Should display scriptsmenu correctly instead of only search bar
This commit is contained in:
commit
b532355218
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ def main(title="Scripts", parent=None, objectName=None):
|
||||||
|
|
||||||
# Register control + shift callback to add to shelf (maya behavior)
|
# Register control + shift callback to add to shelf (maya behavior)
|
||||||
modifiers = QtCore.Qt.ControlModifier | QtCore.Qt.ShiftModifier
|
modifiers = QtCore.Qt.ControlModifier | QtCore.Qt.ShiftModifier
|
||||||
if int(cmds.about(version=True)) <= 2025:
|
if int(cmds.about(version=True)) < 2025:
|
||||||
modifiers = int(modifiers)
|
modifiers = int(modifiers)
|
||||||
|
|
||||||
menu.register_callback(modifiers, to_shelf)
|
menu.register_callback(modifiers, to_shelf)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue