also update table before processing the first image

This commit is contained in:
Kilian 2010-02-22 16:38:13 +01:00
parent 0e79611047
commit f80ff45877

View file

@ -148,9 +148,12 @@ class StartQT4(QMainWindow):
QIcon(QPixmap("compressing.gif")))) QIcon(QPixmap("compressing.gif"))))
else: else:
sys.stderr.write("[error] %s not an image file" % image) sys.stderr.write("[error] %s not an image file" % image)
self.update_table()
self.thread.compress_file(delegatorlist, self.showapp, self.verbose, self.thread.compress_file(delegatorlist, self.showapp, self.verbose,
self.imagelist) self.imagelist)
""" """
UI Functions UI Functions
""" """
@ -341,3 +344,4 @@ if __name__ == "__main__":
if myapp.showapp: if myapp.showapp:
myapp.show() myapp.show()
sys.exit(app.exec_()) sys.exit(app.exec_())