Defining image extensions only in one place
This commit is contained in:
@@ -168,7 +168,7 @@ class AnnotationTab(QWidget):
|
||||
self,
|
||||
"Select Image",
|
||||
start_dir,
|
||||
"Images (*.jpg *.jpeg *.png *.tif *.tiff *.bmp)",
|
||||
"Images (*" + " *".join(Image.SUPPORTED_EXTENSIONS) + ")",
|
||||
)
|
||||
|
||||
if not file_path:
|
||||
|
||||
Reference in New Issue
Block a user