fix crash if OpenFile(string) is called and file is not found - e.g. from Bookmarks menu

This commit is contained in:
Michael Becker 2021-05-11 23:56:24 -04:00
parent 215a5f9182
commit 6de9efa9e9
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -1049,6 +1049,9 @@ namespace UniversalEditor.UserInterface
{
InitEditorPage(doc);
if (doc == null)
continue;
if (doc.Accessor is FileAccessor)
{
// FIXME: support Accessors other than FileAccessor