src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:38:52 +0000 (14:38 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:38:52 +0000 (14:38 +0800)
src/Builder4/WindowState.vala

index cc0b2ad..f8a68d6 100644 (file)
@@ -553,12 +553,10 @@ public class WindowState : Object
                                //      Gtk.main_iteration();
                                //}
                                //this.code_editor.saveContents(); << not yet...
-                               if (new_state != State.FILES) {
-                                       this.win.rooview.el.show(); 
-                                       this.win.codeeditview.el.set_scale(0.0f,0.0f);
-                               } else {
-                                       // going to files... - show will rotate the code editview..
-                               }
+                                
+                               this.win.rooview.el.show(); 
+                               this.win.codeeditview.el.set_scale(0.0f,0.0f);
+                                
                                break;
 
                         case State.OBJECT: