1) Open any project in a project view
2) Right click on any item or empty area
Traceback (most recent call last):
File "/home/htsybenko/pasta_3_11/lib/python3.11/site-packages/pasta_eln/GUI/projectTreeView.py", line 55, in contextMenuEvent
context.exec(p.globalPosition().toPoint())
^^^^^^^^^^^^^^^^
AttributeError: 'PySide6.QtGui.QContextMenuEvent' object has no attribute 'globalPosition'
Expected behavior: No error messages, right click opens a context menu with options.
1) Open any project in a project view 2) Right click on any item or empty area
Traceback (most recent call last): File "/home/htsybenko/pasta_3_11/lib/python3.11/site-packages/pasta_eln/GUI/projectTreeView.py", line 55, in contextMenuEvent context.exec(p.globalPosition().toPoint()) ^^^^^^^^^^^^^^^^ AttributeError: 'PySide6.QtGui.QContextMenuEvent' object has no attribute 'globalPosition'
Expected behavior: No error messages, right click opens a context menu with options.