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