提交 4e7dad98 编写于 作者: D Daniel

Added CmdRemoveObject to delete-key

上级 acb8b16d
......@@ -292,7 +292,7 @@
if ( confirm( 'Delete ' + object.name + '?' ) === false ) return;
var parent = object.parent;
editor.removeObject( object );
if ( parent !== null ) editor.execute( new CmdRemoveObject( object ) );
editor.select( parent );
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册