Builder4/MainWindow.bjs
[app.Builder.js] / Builder4 / MainWindow.vala
index 8d6ae76..fb5b977 100644 (file)
@@ -396,7 +396,7 @@ public class Xcls_MainWindow : Object
                 ctr_p.add(this.projectsettings.el);            
                 this.window_rooview.loadFile(file);
                 this.window_rooview.el.show_all();
-                
+                this.projectsettings.el.show_all();            
                 
             } else {
                 ctr.foreach( (w) => { ctr.remove(w); });
@@ -405,6 +405,7 @@ public class Xcls_MainWindow : Object
                 ctr_p.add(this.vala_projectsettings.el);
                 this.window_gladeview.loadFile(file);
                 this.window_gladeview.el.show_all();
+                this.vala_projectsettings.el.show_all();
             }
             print("OPEN : " + file.name);
             _this.editpane.el.set_position(_this.editpane.el.max_position);
@@ -424,17 +425,25 @@ public class Xcls_MainWindow : Object
             _this.showViewEditing();
             this.left_tree.model.loadFile(file);
             var ctr= ((Gtk.Container)(this.rooview.el.get_widget()));
+            var ctr_p= ((Gtk.Container)(this.projecteditview.el.get_widget()));
             if (file.xtype == "Roo" ) { 
                 ctr.foreach( (w) => { ctr.remove(w); });
+                ctr_p.foreach( (w) => { ctr_p.remove(w); });
                 ctr.add(this.window_rooview.el);
+                ctr_p.add(this.projectsettings.el);            
                 this.window_rooview.loadFile(file);
-                
                 this.window_rooview.el.show_all();
+                this.projectsettings.el.show_all();  
+                
+                
             } else {
                 ctr.foreach( (w) => { ctr.remove(w); });
+                ctr_p.foreach( (w) => { ctr_p.remove(w); });            
                 ctr.add(this.window_gladeview.el);
+                ctr_p.add(this.vala_projectsettings.el);
                 this.window_gladeview.loadFile(file);
                 this.window_gladeview.el.show_all();
+                this.vala_projectsettings.el.show_all();
             }
         
         });