From d2c1a6ba87588224d22f5c43b4e4caf7010cf2c6 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Fri, 10 Jun 2011 17:10:29 +0200 Subject: [PATCH] Small fix for refactoring bug --- sloth/gui/labeltool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sloth/gui/labeltool.py b/sloth/gui/labeltool.py index b622fb1..5b53584 100755 --- a/sloth/gui/labeltool.py +++ b/sloth/gui/labeltool.py @@ -189,7 +189,7 @@ class MainWindow(QMainWindow): "%s - Load Annotations" % APP_NAME, path, "%s annotation files (%s)" % (APP_NAME, format_str)) if not fname.isEmpty(): - self.loadAnnotations(fname) + self.labeltool.loadAnnotations(fname) def fileSave(self): filename = self.labeltool.getCurrentFilename()