Fix T46064: Sequencer view-selected does nothing
authorCampbell Barton <ideasman42@gmail.com>
Thu, 10 Sep 2015 05:31:37 +0000 (15:31 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 10 Sep 2015 05:31:37 +0000 (15:31 +1000)
release/scripts/startup/bl_ui/space_sequencer.py

index a3066cb4ba85b778d24b36eb104bc5b893080373..5991ed5c9dbfa505b4e11592bd58af477bd5a2e6 100644 (file)
@@ -177,8 +177,10 @@ class SEQUENCER_MT_view(Menu):
         layout.separator()
 
         if is_sequencer_view:
+            layout.operator_context = 'INVOKE_REGION_WIN'
             layout.operator("sequencer.view_all", text="View all Sequences")
             layout.operator("sequencer.view_selected")
+            layout.operator_context = 'INVOKE_DEFAULT'
         if is_preview:
             layout.operator_context = 'INVOKE_REGION_PREVIEW'
             layout.operator("sequencer.view_all_preview", text="Fit preview in window")