You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
PythonVideoAnnotator crashes when right-clicking the left pane after removing all videos/objects from the list.
To Reproduce
Load a project or open a video.
Remove all added videos/project objects.
Right-click the now empty pane.
Output error trace:
Traceback (most recent call last):
File "c:\users\miguel gaspar\desktop\my_virtual_environments\video_annotator\lib\site-packages\pyforms_gui\controls\control_tree.py", line 262, in about_to_show_contextmenu_event
itemSelected = self.selectedItems()[0]
IndexError: list index out of range
Expected behavior
The expectation would be for the program to not crash, or that right-clicking would open a window with the option to load videos/opening a projecting, similarly to clicking the respective buttons.
Bug description
PythonVideoAnnotator crashes when right-clicking the left pane after removing all videos/objects from the list.
To Reproduce
Output error trace:
Expected behavior
The expectation would be for the program to not crash, or that right-clicking would open a window with the option to load videos/opening a projecting, similarly to clicking the respective buttons.
Desktop and Versioning Details