prevent data loss when ALT+F4'ing while drawing a shape
svn path=/trunk/kdegraphics/kolourpaint/; revision=291203