src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 05:46:40 +0000 (13:46 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 05:46:40 +0000 (13:46 +0800)
src/Builder4/WindowState.vala

index a7f4da1..44ae88c 100644 (file)
@@ -679,7 +679,13 @@ public class WindowState : Object
                                 this.win.codeeditview.el.set_scale(1.0f,1.0f);
                                 break;
 
+                       case State.CODEONLY:
+                               // going to codeonly..
+                               this.code_editor.saveContents();
+                           this.win.leftpane.el.hide();
+                                this.win.codeeditview.el.set_scale(1.0f,1.0f);
 
+                               break;
 
                   case State.PROJECT: