src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 07:58:49 +0000 (15:58 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 07:58:49 +0000 (15:58 +0800)
src/Builder4/WindowState.vala

index 59a592d..723c2a2 100644 (file)
@@ -434,6 +434,9 @@ public class WindowState : Object
        public void fileViewOpen(JsRender.JsRender file)
        {
                this.win.project = file.project;
+               this.project = project;
+               this.file = file;
+               
                
                if (file.xtype == "PlainFile") {
                        this.switchState (State.CODEONLY);