aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/SelectionTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 1a6bee55..6d8ff175 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -755,7 +755,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
755 this.application.ninja.stage.clearDrawingCanvas(); 755 this.application.ninja.stage.clearDrawingCanvas();
756 756
757 var item = this._target; 757 var item = this._target;
758 if(!item) 758 if(!item || (item === this.application.ninja.currentDocument.documentRoot))
759 { 759 {
760 return; 760 return;
761 } 761 }