From ba24bc95a22da37cdd4a8fba71763cfa8a41b668 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Mon, 25 Jul 2011 10:32:44 +0200 Subject: [PATCH] Exit insertion mode when inserter finishes by itself --- sloth/gui/annotationscene.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sloth/gui/annotationscene.py b/sloth/gui/annotationscene.py index b332691..7ceaf89 100644 --- a/sloth/gui/annotationscene.py +++ b/sloth/gui/annotationscene.py @@ -107,6 +107,7 @@ class AnnotationScene(QGraphicsScene): def onInserterFinished(self): self.sender().inserterFinished.disconnect(self.onInserterFinished) + self.labeltool_.exitInsertMode() self.inserter_ = None def onInsertionModeStarted(self, label_class):