src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 01:25:59 +0000 (09:25 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 01:25:59 +0000 (09:25 +0800)
src/Builder4/WindowState.vala

index db0eeca..cda6d2b 100644 (file)
@@ -172,10 +172,18 @@ public class WindowState : Object
         this.left_props.el.show_all();
     
         this.left_props.show_editor.connect( (file, node, type,  key) => {
-            this.codeEditShow(file, node, type,  key);
+            this.switchState(State.CODE);
+            this.code_editor.show(
+                file,
+                node,
+                ptype,
+                key
+            );
+            
+            
         });
 
-    
+   
         this.left_props.stop_editor.connect( () => {
             if (this.state != "codeedit") {
                 return true;