mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 09:44:15 +02:00
[view] fix: not properly sorting file extensions for the FileChooser component
This commit is contained in:
@@ -864,7 +864,7 @@ class FormQt(QGroupBox):
|
|||||||
if '*' in c.allowed_extensions:
|
if '*' in c.allowed_extensions:
|
||||||
sorted_exts.append('*')
|
sorted_exts.append('*')
|
||||||
|
|
||||||
exts = ';;'.join({f'*.{e}' for e in sorted_exts})
|
exts = ';;'.join((f'*.{e}' for e in sorted_exts))
|
||||||
else:
|
else:
|
||||||
exts = '{} (*);;'.format(self.i18n['all_files'].capitalize())
|
exts = '{} (*);;'.format(self.i18n['all_files'].capitalize())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user