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

index 821c53f..d5c3376 100644 (file)
@@ -185,7 +185,7 @@ public class WindowState : Object
 
    
         this.left_props.stop_editor.connect( () => {
-            if (this.state != "codeedit") {
+            if (this.state != State.CODE) {
                 return true;
             }