mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[improvement][ui] improving file chooser labels
This commit is contained in:
@@ -318,7 +318,7 @@ class FormQt(QGroupBox):
|
||||
options = QFileDialog.Options()
|
||||
|
||||
if c.allowed_extensions:
|
||||
exts = ';;'.join({'{} {} (*.{})'.format(self.i18n['files'].capitalize(), e.upper(), e) for e in c.allowed_extensions})
|
||||
exts = ';;'.join({'*.{}'.format(e) for e in c.allowed_extensions})
|
||||
else:
|
||||
exts = '{}} (*);;'.format(self.i18n['all_files'].capitalize())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user