-
Notifications
You must be signed in to change notification settings - Fork 0
Description
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\widgets\editor\editor.py", line 71, in new_temp_file
self.files_wid._add_file_tab(file=file)
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\widgets\editor\filesWidget.py", line 113, in _add_file_tab
self.select_btn(btn)
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\widgets\editor\filesWidget.py", line 88, in select_btn
event_handler.file_opened.emit(btn.file)
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\core\eventHandler.py", line 92, in emit
listener(*args)
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\widgets\nav\navigation.py", line 277, in _on_editor_file_opened
if self.selected_item_path and os.path.normpath(self.selected_item_path) != os.path.normpath(file):
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\widgets\nav\navigation.py", line 85, in selected_item_path
item = self.selected_item
^^^^^^^^^^^^^^^^^^
File "C:\Users\Michael\Documents\dev\sharedtoolbox\sharedtoolbox\widgets\nav\navigation.py", line 77, in selected_item
item = self.proxy_model.itemData(self.nav_tree.selectedIndexes()[0])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range