diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-23 11:33:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-23 11:33:29 +0400 |
commit | 2ed155b98a52108a39133185b145ceee0d21ebf8 (patch) | |
tree | f582e8cf38fe862e8f55c2ac26bf42aed0e7a0db | |
parent | f82ce68a9eda382fead176398b624f28b5c9945c (diff) |
spacebar for the search menu was overriding space in the text editor
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 22c7b6ae277..6ecbc172c37 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -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; } |