src/Builder4/MainWindow.vala
"items" : [
{
"listeners" : {
- "clicked" : " ( ) => {\n \n // create a new file in project..\n if (_this.project == null || _this.windowstate.left_tree.model.file == null) {\n return ;\n }\n _this.windowstate.file_details.show(\n _this.windowstate.left_tree.model.file, this.el\n );\n \n return ; \n\n\n}"
+ "clicked" : " ( ) => {\n \n // create a new file in project..\n if (_this.project == null || _this.windowstate.file == null) {\n return ;\n }\n _this.windowstate.file_details.show(\n _this.windowstate.file, this.el\n );\n \n return ; \n\n\n}"
},
"* pack" : false,
"xtype" : "Button",
this.el.clicked.connect( ( ) => {
// create a new file in project..
- if (_this.project == null || _this.windowstate.left_tree.model.file == null) {
+ if (_this.project == null || _this.windowstate.file == null) {
return ;
}
_this.windowstate.file_details.show(
- _this.windowstate.left_tree.model.file, this.el
+ _this.windowstate.file, this.el
);
return ;