diff --git a/sloth/gui/annotationscene.py b/sloth/gui/annotationscene.py index 366f3e0..e78fd22 100644 --- a/sloth/gui/annotationscene.py +++ b/sloth/gui/annotationscene.py @@ -115,7 +115,7 @@ class AnnotationScene(QGraphicsScene): def onInserterFinished(self): self.sender().inserterFinished.disconnect(self.onInserterFinished) - self._labeltool.currentImageChanged.disconnect(self.sender()) + self._labeltool.currentImageChanged.disconnect(self.sender().imageChange) self._labeltool.exitInsertMode() self._inserter = None