Check for deleted defs after paste, fixes #82
parent
a8ac2bf58d
commit
a41191158f
|
@ -6995,6 +6995,8 @@ this.pasteElements = function(type, x, y) {
|
||||||
pasted.push(copy);
|
pasted.push(copy);
|
||||||
(current_group || getCurrentDrawing().getCurrentLayer()).appendChild(copy);
|
(current_group || getCurrentDrawing().getCurrentLayer()).appendChild(copy);
|
||||||
batchCmd.addSubCommand(new svgedit.history.InsertElementCommand(copy));
|
batchCmd.addSubCommand(new svgedit.history.InsertElementCommand(copy));
|
||||||
|
|
||||||
|
restoreRefElems(copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
selectOnly(pasted);
|
selectOnly(pasted);
|
||||||
|
|
Loading…
Reference in New Issue