correct file for checking in file_dialog

This commit is contained in:
Kilian Valkhof 2010-02-02 20:22:37 +01:00
parent ed52fde42d
commit 51ac555ab5

View file

@ -80,7 +80,7 @@ class StartQT4(QMainWindow):
"", # directory
"Image files (*.png *.jpg)")
for image in images:
if self.checkname(name):
if self.checkname(image):
self.compress_file(image)
def enable_recompress(self):