diff --git a/CSharp/Engines/GTK/UniversalEditor.Engines.GTK/MainWindow.cs b/CSharp/Engines/GTK/UniversalEditor.Engines.GTK/MainWindow.cs index c0e710f3..e4fa99c0 100644 --- a/CSharp/Engines/GTK/UniversalEditor.Engines.GTK/MainWindow.cs +++ b/CSharp/Engines/GTK/UniversalEditor.Engines.GTK/MainWindow.cs @@ -203,9 +203,12 @@ namespace UniversalEditor.Engines.GTK Editor editor = (ieditors[0] as Editor); if (editor == null) continue; + Document doc = new Document(om, df, fa); + doc.InputAccessor.Open (); + doc.Load (); + editor.ObjectModel = om; - Document doc = new Document(om, df, fa); AddDocumentTab(editor, FileName, doc); break; }