Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2013-05-23 19:10:36 +0400
committerTon Roosendaal <ton@blender.org>2013-05-23 19:10:36 +0400
commitb6a4ea3d95b7a04c55432f417fb307e288080714 (patch)
tree6a1bdb27618443c7440cbac63c330409d379898b /source
parent80a6654a81da7ed063218275f1d02dc574596119 (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')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c3
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)