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:
72fb702
)
src/Builder4/WindowState.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 6 Jun 2016 08:43:45 +0000
(16:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 6 Jun 2016 08:43:45 +0000
(16:43 +0800)
src/Builder4/WindowState.vala
patch
|
blob
|
history
diff --git
a/src/Builder4/WindowState.vala
b/src/Builder4/WindowState.vala
index
56aff30
..
969dec2
100644
(file)
--- a/
src/Builder4/WindowState.vala
+++ b/
src/Builder4/WindowState.vala
@@
-120,6
+120,10
@@
public class WindowState : Object
this.left_tree.el.show_all();
this.left_tree.before_node_change.connect(() => {
+ // if the node change is caused by the editor (code preview)
+ if (this.left_tree.tree.lastEventSource == "editor") {
+ return false;
+ }
return this.leftTreeBeforeChange();
});