From 60648aecc892decc9f972a1b49e3d96d558ef8e6 Mon Sep 17 00:00:00 2001 From: Martin Baeuml Date: Tue, 24 May 2011 20:38:11 +0200 Subject: [PATCH] allow loading all label files --- 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 a114322..698d90b 100755 --- a/sloth/gui/labeltool.py +++ b/sloth/gui/labeltool.py @@ -209,7 +209,7 @@ class MainWindow(QMainWindow): path = QFileInfo(self.container_.filename()).path() # TODO: compile a list from all the patterns in self.container_factory_ - format_str = ' '.join(['*.txt']) + format_str = ' '.join(['*']) fname = QFileDialog.getOpenFileName(self, "%s - Load Annotations" % APP_NAME, path, "%s annotation files (%s)" % (APP_NAME, format_str))