replace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator

This commit is contained in:
2012-01-14 14:17:12 +00:00
parent 9c2a58a811
commit 635fba3a66
7 changed files with 10 additions and 81 deletions

View File

@@ -114,10 +114,7 @@ class SEQUENCER_MT_view(Menu):
layout.operator("sequencer.view_selected")
if st.show_frames:
layout.operator("anim.time_toggle", text="Show Seconds")
else:
layout.operator("anim.time_toggle", text="Show Frames")
layout.prop(st, "show_seconds")
layout.prop(st, "show_frame_indicator")
if st.display_mode == 'IMAGE':