From a30ede687433e6093ac0664a88661829107aa2e9 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 14 Jun 2011 16:11:44 +0200 Subject: [PATCH] Initialize model of LabelTool --- sloth/core/labeltool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sloth/core/labeltool.py b/sloth/core/labeltool.py index 2147e40..c3f8577 100755 --- a/sloth/core/labeltool.py +++ b/sloth/core/labeltool.py @@ -36,6 +36,7 @@ class LabelTool(QObject): self.container_factory_ = AnnotationContainerFactory(config.CONTAINERS) self.container_ = AnnotationContainer() self._current_image = None + self._model = None # Load annotation file if len(args) > 0: