UI correct use of "..." in the VSE
This commit is contained in:
parent
8051f2412e
commit
5f46374c89
|
@ -338,19 +338,19 @@ class SEQUENCER_MT_add(Menu):
|
|||
|
||||
if len(bpy.data.scenes) > 10:
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("sequencer.scene_strip_add", text="Scene...")
|
||||
layout.operator("sequencer.scene_strip_add", text="Scene")
|
||||
else:
|
||||
layout.operator_menu_enum("sequencer.scene_strip_add", "scene", text="Scene...")
|
||||
|
||||
if len(bpy.data.movieclips) > 10:
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("sequencer.movieclip_strip_add", text="Clips...")
|
||||
layout.operator("sequencer.movieclip_strip_add", text="Clips")
|
||||
else:
|
||||
layout.operator_menu_enum("sequencer.movieclip_strip_add", "clip", text="Clip...")
|
||||
|
||||
if len(bpy.data.masks) > 10:
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("sequencer.mask_strip_add", text="Masks...")
|
||||
layout.operator("sequencer.mask_strip_add", text="Masks")
|
||||
else:
|
||||
layout.operator_menu_enum("sequencer.mask_strip_add", "mask", text="Mask...")
|
||||
|
||||
|
@ -362,7 +362,7 @@ class SEQUENCER_MT_add(Menu):
|
|||
|
||||
|
||||
class SEQUENCER_MT_add_effect(Menu):
|
||||
bl_label = "Effect Strip..."
|
||||
bl_label = "Effect Strip"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
|
Loading…
Reference in New Issue