From 3ac2fe9dfd7a152e51b7fd9285c2ff5813430110 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Wed, 9 Jul 2014 22:35:10 -0400 Subject: [PATCH] Actually load the file --- CSharp/Engines/GTK/UniversalEditor.Engines.GTK/MainWindow.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }