From f80ff458774590268c9d0b269bc277bddaf838bd Mon Sep 17 00:00:00 2001 From: Kilian Date: Mon, 22 Feb 2010 16:38:13 +0100 Subject: [PATCH] also update table before processing the first image --- trimage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trimage.py b/trimage.py index fc9ec56..6a26f86 100644 --- a/trimage.py +++ b/trimage.py @@ -148,9 +148,12 @@ class StartQT4(QMainWindow): QIcon(QPixmap("compressing.gif")))) else: sys.stderr.write("[error] %s not an image file" % image) + + self.update_table() self.thread.compress_file(delegatorlist, self.showapp, self.verbose, self.imagelist) + """ UI Functions """ @@ -341,3 +344,4 @@ if __name__ == "__main__": if myapp.showapp: myapp.show() sys.exit(app.exec_()) +