xtype: Gtk.Window,
listeners : {
destroy_event : function (self, event) {
- if (!this.save()) {
+ if (!this.get('/Editor.RightEditor').save()) {
// no hiding with errors.
return true;
}
return true;
},
delete_event : function (self, event) {
- if (!this.save()) {
+ if (!this.get('/Editor.RightEditor').save()) {
// no hiding with errors.
return true;
}