Fix T46064: Sequencer view-selected does nothing

This commit is contained in:
Campbell Barton 2015-09-10 15:31:37 +10:00
parent 3225261f13
commit ac0e511619
Notes: blender-bot 2023-02-14 08:40:33 +01:00
Referenced by issue #46064, View selected menu operation does not do anything
1 changed files with 2 additions and 0 deletions

View 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")