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 7033ee3d..abf45365 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -221,8 +221,10 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
221 | HandleDoubleClick: { | 221 | HandleDoubleClick: { |
222 | value: function(event) { | 222 | value: function(event) { |
223 | if(this.application.ninja.selectedElements.length > 0) { | 223 | if(this.application.ninja.selectedElements.length > 0) { |
224 | this.application.ninja.breadCrumbClick = true; | ||
224 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; | 225 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; |
225 | } else { | 226 | } else { |
227 | this.application.ninja.breadCrumbClick = true; | ||
226 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; | 228 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; |
227 | } | 229 | } |
228 | } | 230 | } |