reset FileAccessor custom options to default values when DataFormat is unselected

This commit is contained in:
Michael Becker 2020-05-20 13:45:07 -04:00
parent 05da69d206
commit d9b54cd2de
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -367,6 +367,15 @@ namespace UniversalEditor.UserInterface.Dialogs
}
}
}
else
{
if (acc is FileAccessor)
{
AccessorReference accref = acc.MakeReference();
(accref.ImportOptions[0] as CustomOptionFile).Filter = "All files|*";
(accref.ExportOptions[0] as CustomOptionFile).Filter = "All files|*";
}
}
switch (Mode)
{