src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 11:25:29 +0000 (19:25 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 11:25:29 +0000 (19:25 +0800)
src/Builder4/WindowState.vala

index 359cc45..f1c9438 100644 (file)
@@ -14,7 +14,8 @@ public class WindowState : Object
         OBJECT,
         PROP,
         LISTENER,
-        CODE
+        CODE,
+        FILES
     };
 
     public State state;
@@ -448,6 +449,7 @@ public class WindowState : Object
                 this.win.objectshowbutton.el.show(); // add objects
                 this.win.addpropbutton.el.show();  
                 this.win.addlistenerbutton.el.show(); 
+                 break;
                 
             case State.FILES:
                 this.win.backbutton.el.show();
@@ -456,7 +458,7 @@ public class WindowState : Object
                 this.win.addfilebutton.el.show();
                 this.win.delprojectbutton.el.show();
                 this.win.new_window.el.show();
-  
+                break;
         
 
     }