diff options
author | Ton Roosendaal <ton@blender.org> | 2013-04-28 13:47:11 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-04-28 13:47:11 +0400 |
commit | 24a4e195cdec5ff9f07378bb8f26392173d41791 (patch) | |
tree | 83c1897b4a19071be21d174e3062add00571b85c /source/blender/editors/space_sequencer | |
parent | 628284ccda357c2bfb289e1040ebaae48b97f06a (diff) |
Bug fix #35117
Sequencer: Properties region didn't have the general Sequencer keymap, so it didn't
respond to "Nkey" to hide the region.
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/space_sequencer.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c index c933bbff0b3..08848645bf9 100644 --- a/source/blender/editors/space_sequencer/space_sequencer.c +++ b/source/blender/editors/space_sequencer/space_sequencer.c @@ -599,9 +599,12 @@ static void sequencer_preview_area_listener(ARegion *ar, wmNotifier *wmn) /* add handlers, stuff you only do once or on area/region changes */ static void sequencer_buttons_area_init(wmWindowManager *wm, ARegion *ar) { - + wmKeyMap *keymap; + + keymap = WM_keymap_find(wm->defaultconf, "SequencerCommon", SPACE_SEQ, 0); + WM_event_add_keymap_handler_bb(&ar->handlers, keymap, &ar->v2d.mask, &ar->winrct); + ED_region_panels_init(wm, ar); - } static void sequencer_buttons_area_draw(const bContext *C, ARegion *ar) |