Closed adro79 closed 1 year ago
I was able to fix the error by changing menu.py
if isinstance(shortcut, QtGui.QKeySequence): # changed str to QtGui.QKeySequence
search = re.search(r'(?:\.|)QKeySequence\.(\w+)', shortcut)
if search:
shortcut = getattr(QtGui.QKeySequence, search.group(1))
elif all([i in ['Alt', 'Enter'] for i in shortcut.split('+')]):
shortcut = QtGui.QKeySequence(
QtCore.Qt.Modifier.ALT | QtCore.Qt.Key.Key_Return
)
elif all([i in ['Return', 'Enter'] for i in shortcut.split('+')]):
shortcut = QtCore.Qt.Key.Key_Return
if shortcut:
action.setShortcut(shortcut)
Maybe it's not the appropiate fix but it allows me to use shortcuts in Quiltix
Another error I found:
I'm using nodegraphqt 0.6.16 with python 3.11 and PySide2 5.15.10 on Arch Linux