Fix for previous properties editor crash, only remove ui handlers

on new screens. Was preventing openGL render and possibly other 
things from working
This commit is contained in:
Matt Ebb
2010-01-14 05:21:20 +00:00
parent 874ef4c747
commit b886f7ada0

View File

@@ -1629,7 +1629,7 @@ void WM_event_remove_area_handler(ListBase *handlers, void *area)
for(handler = handlers->first; handler; handler= nexthandler) {
nexthandler = handler->next;
if (handler->type != WM_HANDLER_FILESELECT) {
if (handler->ui_area == area || handler->op_area == area) {
if (handler->ui_area == area) {
BLI_remlink(handlers, handler);
wm_event_free_handler(handler);
}