mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
'fix' for case sensitive file dialog
This commit is contained in:
parent
68ade9ba2e
commit
1e7874636e
3 changed files with 3 additions and 5 deletions
|
|
@ -96,7 +96,8 @@ class StartQT4(QMainWindow):
|
|||
images = fd.getOpenFileNames(self,
|
||||
"Select one or more image files to compress",
|
||||
"", # directory
|
||||
"Image files (*.png *.jpg *.jpeg)")
|
||||
# this is a fix for file dialog differenciating between cases
|
||||
"Image files (*.png *.jpg *.jpeg *.PNG *.JPG *.JPEG)")
|
||||
for image in images:
|
||||
if self.checkname(image):
|
||||
self.compress_file(image)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue