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

index 4e8e6f7..de889be 100644 (file)
@@ -99,7 +99,7 @@ public class WindowState : Object
 
     public bool leftTreeBeforeChange(JsRender.Node? sel)
     {
-        if (this.state != "codeedit") {
+        if (this.state != State.CODE) {
             this.left_props.finish_editing();
             return true;
         }