mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 18:08:42 -05:00
correct file for checking in file_dialog
This commit is contained in:
parent
ed52fde42d
commit
51ac555ab5
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue