spacebar for the search menu was overriding space in the text editor
authorCampbell Barton <ideasman42@gmail.com>
Sun, 23 Aug 2009 07:33:29 +0000 (07:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 23 Aug 2009 07:33:29 +0000 (07:33 +0000)
source/blender/windowmanager/intern/wm_operators.c

index 22c7b6ae277abc72b7c4d70e502d6e1585d79930..6ecbc172c37c88aa08f925acf463d92183e1afe7 100644 (file)
@@ -720,6 +720,7 @@ int wm_search_menu_poll(bContext *C)
 {
        if(CTX_wm_window(C)==NULL) return 0;
        if(CTX_wm_area(C) && CTX_wm_area(C)->spacetype==SPACE_CONSOLE) return 0;  // XXX - so we can use the shortcut in the console
+       if(CTX_wm_area(C) && CTX_wm_area(C)->spacetype==SPACE_TEXT) return 0;  // XXX - so we can use the spacebar in the text editor
        return 1;
 }