mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
also update table before processing the first image
This commit is contained in:
parent
0e79611047
commit
f80ff45877
1 changed files with 4 additions and 0 deletions
|
|
@ -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_())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue