Fix crash on opening editor with files already loaded
Fix crash on opening editor with files already loaded

svn path=/trunk/KDE/kdelibs/kate/; revision=828255

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