We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae8d4e commit fac120fCopy full SHA for fac120f
src/gazeMapper/GUI/_impl/gui.py
@@ -1610,7 +1610,7 @@ def _session_context_menu(self, session_name: str) -> bool:
1610
if imgui.selectable(ifa6.ICON_FA_TRASH_CAN + " Delete session", False)[0]:
1611
for s in sess:
1612
# if any import actions are happening, cancel those first
1613
- for r in (r for r in s.recordings if s.recordings[r].state[process.Action.IMPORT]):
+ for r in (r for r in s.recordings if s.name in actions_running and process.Action.IMPORT in actions_running[s.name] and r in actions_running[s.name][process.Action.IMPORT]):
1614
self.job_scheduler.cancel_job(actions_running[s.name][process.Action.IMPORT][r])
1615
callbacks.remove_folder(s.working_directory)
1616
changed = True
0 commit comments