sometimes we expect Editor.Document to be set

This commit is contained in:
Michael Becker 2020-10-20 20:57:57 -04:00
parent 3134481895
commit 515e332f61
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -234,6 +234,7 @@ namespace UniversalEditor.UserInterface.Pages
editor.ObjectModel = om;
editor.DocumentEdited += editor_DocumentEdited;
editor.Title = title;
editor.Document = Document;
for (int j = 0; j < reditor.Views.Count; j++)
{
EditorView view = reditor.Views[j];