Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-14 18:17:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-14 18:17:12 +0400
commit635fba3a660a0a19758683f8cbd3eae9247fe0a7 (patch)
tree8b9c22408fb66469938c35aaa61e5c8893856e2e /release/scripts/startup/bl_ui/space_sequencer.py
parent9c2a58a811d393079ce75190424f53cef98d31d6 (diff)
replace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index e0c2f2a6ab9..09af7af0819 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -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':