diff options
author | Ton Roosendaal <ton@blender.org> | 2013-05-23 19:10:36 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-05-23 19:10:36 +0400 |
commit | b6a4ea3d95b7a04c55432f417fb307e288080714 (patch) | |
tree | 6a1bdb27618443c7440cbac63c330409d379898b /source/blender | |
parent | 80a6654a81da7ed063218275f1d02dc574596119 (diff) |
Bug fix #35481
Browsing screens via menu disabled screen editing (area divider drag) and made
popup menu hanging (select same editor for example).
Caused by bug fix #35434, commit gets rewinded, and report reopened.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index d874bb47065..d83d27e63bd 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -247,8 +247,7 @@ void wm_event_do_notifiers(bContext *C) if (note->window == win) { if (note->category == NC_SCREEN) { if (note->data == ND_SCREENBROWSE) { - /* free popup handlers */ - WM_event_remove_handlers(C, &win->modalhandlers); + /* do not free handlers here! [#35434] */ ED_screen_set(C, note->reference); // XXX hrms, think this over! if (G.debug & G_DEBUG_EVENTS) |