this.left_tree.changed.connect(() => {
- this.left_tree.model.file.save();
+ this.file.save();
if (this.left_tree.getActiveFile().xtype == "Roo" ) {
this.window_rooview.requestRedraw();
} else {
this.window_gladeview.loadFile(this.left_tree.getActiveFile());
}
this.left_tree.model.updateSelected();
- this.left_tree.model.file.save();
- if (this.left_tree.model.file.xtype=="Gtk") {
- this.valasource.checkFileSpawn(this.left_tree.model.file);
+ this.file.save();
+ if (this.file.xtype=="Gtk") {
+ this.valasource.checkFileSpawn(this.file);
}
});
// editor.save...
this.code_editor.save.connect( () => {
- this.left_tree.model.file.save();
+ this.file.save();
this.left_tree.model.updateSelected();
if (this.left_tree.getActiveFile().xtype == "Roo" ) {
this.window_rooview.requestRedraw();
case State.OBJECT:
var n = this.left_tree.getActiveElement();
- if (this.left_tree.model.file == null) {
+ if (this.file == null) {
this.state =oldstate;
this.buttonsShowHide();
this.resizeCanvasElements();
return;
}
- if (n == null && this.left_tree.model.file.tree != null) {
+ if (n == null && this.file.tree != null) {
this.state = oldstate;
this.buttonsShowHide();
this.resizeCanvasElements();