projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ec0091
)
src/Builder4/WindowState.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 20 May 2015 09:12:20 +0000
(17:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 May 2015 09:12:20 +0000
(17:12 +0800)
src/Builder4/WindowState.vala
patch
|
blob
|
history
diff --git
a/src/Builder4/WindowState.vala
b/src/Builder4/WindowState.vala
index
a322251
..
f00b51d
100644
(file)
--- a/
src/Builder4/WindowState.vala
+++ b/
src/Builder4/WindowState.vala
@@
-116,11
+116,14
@@
public class WindowState : Object
});
this.left_tree.changed.connect(() => {
- this.window_rooview.requestRedraw();
+
this.left_tree.model.file.save();
- if (this.left_tree.model.file.xtype=="Gtk") {
- this.valasource.checkFileSpawn(this.left_tree.model.file);
+ if (this.left_tree.getActiveFile().xtype == "Roo" ) {
+ this.window_rooview.requestRedraw();
+ } else {
+ this.window_gladeview.loadFile(this.left_tree.getActiveFile());
}
+
});
}