spacebar for the search menu was overriding space in the text editor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user