Initial commit for new text object.
[blender.git] / source / blender / src / toets.c
index 552f846038fe0b99c33d5e29202f64ad97573b90..5cc23d6914b7963ebf1d2237d7ce552036555243 100644 (file)
@@ -983,7 +983,7 @@ int blenderqread(unsigned short event, short val)
                break;
                
        case XKEY:
-               if(textspace==0) {
+               if(textspace==0 && textediting==0) {
                        if(G.qual==LR_CTRLKEY) {
                                if(okee("Erase all")) {
                                        strcpy(G.sce, BLI_gethome());