fix crash: unregister command, otherwise the editor part has a dangling pointer
fix crash: unregister command, otherwise the editor part has a dangling pointer

svn path=/trunk/KDE/kdesdk/kate/; revision=993399

sandsmark/kate,sandsmark/kate,jfmcarreira/kate,hlamer/kate,cmacq2/kate,jfmcarreira/kate,hlamer/kate,cmacq2/kate,cmacq2/kate,hlamer/kate,hlamer/kate,DickJ/kate,DickJ/kate,sandsmark/kate,hlamer/kate,sandsmark/kate,DickJ/kate,jfmcarreira/kate,hlamer/kate,DickJ/kate,hlamer/kate,hlamer/kate,hlamer/kate,hlamer/kate