mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
add file check to file dialog as well
This commit is contained in:
parent
457e3cf6a7
commit
32547c72bf
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ class StartQT4(QMainWindow):
|
||||||
"", # directory
|
"", # directory
|
||||||
"Image files (*.png *.jpg)")
|
"Image files (*.png *.jpg)")
|
||||||
for image in images:
|
for image in images:
|
||||||
self.compress_file(image)
|
if self.checkname(name):
|
||||||
|
self.compress_file(image)
|
||||||
|
|
||||||
|
|
||||||
def enable_recompress(self):
|
def enable_recompress(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue