diff --git a/firstaid/debugwidget.py b/firstaid/debugwidget.py index 0d6f3ad..95ba57b 100644 --- a/firstaid/debugwidget.py +++ b/firstaid/debugwidget.py @@ -391,7 +391,8 @@ def current_frame_changed(self, current, previous): if 0 <= row < len(self.entries): self.go_to_frame(row) path = self.entries[row][0] - self._source_editor_widget.setFilePath(path) + if self._source_editor_widget: + self._source_editor_widget.setFilePath(path) def go_to_frame(self, index): if self._source_editor_widget: