From 7b986e56ef3ede166ffabdcda3b702d1a168249d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=84=E6=88=90=E6=96=87?= Date: Fri, 7 Jun 2013 14:16:00 +0000 Subject: [PATCH] fix a bug of layer changes. see :http://code.google.com/p/svg-edit/issues/detail?id=1099 git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2516 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index c3953f6c..98447637 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3673,6 +3673,7 @@ }; var populateLayers = function() { + svgCanvas.clearSelection(); var layerlist = $('#layerlist tbody').empty(); var selLayerNames = $('#selLayerNames').empty(); var drawing = svgCanvas.getCurrentDrawing();