aboutsummaryrefslogtreecommitdiff
path: root/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js')
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
index 13c9a705..04b509a6 100644
--- a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
+++ b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
@@ -121,6 +121,12 @@ exports.CodeEditorViewOptions = Montage.create(Component, {
121 oneway : false 121 oneway : false
122 }); 122 });
123 123
124 Object.defineBinding(this.codeCompleteCheck , "checked", {
125 boundObject: this.application.ninja.codeEditorController,
126 boundObjectPropertyPath: "automaticCodeComplete",
127 oneway : false
128 });
129
124 } 130 }
125 }, 131 },
126 132
@@ -137,6 +143,8 @@ exports.CodeEditorViewOptions = Montage.create(Component, {
137 } else { 143 } else {
138 this.autoCompleteLabel.classList.remove("disabled"); 144 this.autoCompleteLabel.classList.remove("disabled");
139 } 145 }
146
147 this.codeCompleteCheck.checked = false;
140 } 148 }
141 }, 149 },
142 150