src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 08:16:47 +0000 (16:16 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 08:16:47 +0000 (16:16 +0800)
src/Builder4/WindowState.vala

index 59c134c..9b65b45 100644 (file)
@@ -441,6 +441,7 @@ public class WindowState : Object
                if (file.xtype == "PlainFile") {
                        this.switchState (State.CODEONLY); 
                        file.loadItems();
+                       this.code_editor.show(file, null, "", "");
                } else {
                
                        this.switchState (State.PREVIEW);