diff options
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/SelectionTool.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js index 94cc6b83..eb5341de 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -224,8 +224,10 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
224 | HandleDoubleClick: { | 224 | HandleDoubleClick: { |
225 | value: function(event) { | 225 | value: function(event) { |
226 | if(this.application.ninja.selectedElements.length > 0) { | 226 | if(this.application.ninja.selectedElements.length > 0) { |
227 | this.application.ninja.breadCrumbClick = true; | ||
227 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; | 228 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; |
228 | } else { | 229 | } else { |
230 | this.application.ninja.breadCrumbClick = true; | ||
229 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; | 231 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; |
230 | } | 232 | } |
231 | } | 233 | } |