mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
consider empty IResource.Extensions property.
This commit is contained in:
@@ -89,7 +89,7 @@ namespace GARbro.GUI
|
||||
var filters = new StringBuilder();
|
||||
|
||||
var format = this.ArchiveFormat.SelectedItem as ArchiveFormat;
|
||||
if (null != format)
|
||||
if (null != format && format.Extensions.Any())
|
||||
{
|
||||
var patterns = format.Extensions.Select (ext => "*."+ext);
|
||||
filters.Append (format.Description);
|
||||
|
||||
Reference in New Issue
Block a user