Fixed Issue 651: Allow selection of last created element while still in creation mode

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1704 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-09-09 17:38:33 +00:00
parent c9b20be85b
commit 73fd86ecd9
3 changed files with 20 additions and 4 deletions

View File

@@ -488,6 +488,10 @@ svgEditor.addExtension("Connector", function(S) {
},
selectedChanged: function(opts) {
if(svgCanvas.getMode() == 'connector') {
svgCanvas.setMode('select');
}
// Use this to update the current selected elements
selElems = opts.elems;