src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Tue, 12 May 2015 09:50:56 +0000 (17:50 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 May 2015 09:50:56 +0000 (17:50 +0800)
src/Builder4/WindowState.vala

index c3d4ee6..4ce955d 100644 (file)
@@ -867,10 +867,12 @@ public class WindowState : Object
                        
        
                        case State.FILES:
-                               this.win.backbutton.el.show();
+                               if (this.win.left_projects.getSelectedProject() != null ) {
+                                       this.win.backbutton.el.show();
+                                       this.win.addfilebutton.el.show();
+                               }
                                         
                                this.win.addprojectbutton.el.show();
-                               this.win.addfilebutton.el.show();
                                this.win.delprojectbutton.el.show();
                                
                                break;