2.5
[blender.git] / source / blender / editors / screen / area.c
index fc6ed8cee54e8f06690069325de71d6b5612e530..da7c38819a2aa8a51e52d2d787055a222700fa9f 100644 (file)
@@ -503,6 +503,7 @@ static void newspace(bContext *C, ScrArea *sa, int type)
 
                sa->spacetype= type;
                sa->butspacetype= type;
+               sa->type= st;
                
                /* check previously stored space */
                for (sl= sa->spacedata.first; sl; sl= sl->next)