Filter out include DSC files in ConfigEditor open dialog

In ConfigEditor, when open DSC files, many files will show up. It
is expected to only open the CfgDataDef.dsc. This patch changed
the file match pattern to only list *Def.dsc file.  In this way,
user will not make mistake to open some include DSC file.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
This commit is contained in:
Maurice Ma 2019-06-19 13:16:33 -07:00
parent 017e7012f8
commit 6b45c53c54
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class Application(Frame):
if Type == 'dsc': if Type == 'dsc':
FileType = 'DSC or PKL' FileType = 'DSC or PKL'
FileExt = 'dsc *.pkl' FileExt = 'pkl *Def.dsc'
else: else:
FileType = Type.upper() FileType = Type.upper()
FileExt = Type FileExt = Type