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

index e713f7f..821c53f 100644 (file)
@@ -193,7 +193,7 @@ public class WindowState : Object
             if (!ret) {
                 return false;
             }
-            this.codeEditHide();
+            this.switchState(State.PREVIEW);
             return ret;
         });