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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-06-18 23:02:46 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-06-22 05:29:58 +0300
commitd086570c7a364f90d4d80badad30afb3ac580309 (patch)
tree85289c05a6f33349af0a429485e32426c7e36696
parent4947aa29db0a388b166704bd22eb416896064c61 (diff)
UI: Sequencer: add refresh_all operator to all sequencer view menus
This commit piggybacks on rB3e695a27cdfad560d0b28e742cfa069d098200d6
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 07d9b0ee1f8..13a8e46e2b8 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -392,6 +392,11 @@ class SEQUENCER_MT_view(Menu):
layout.menu("SEQUENCER_MT_proxy")
layout.operator_context = 'INVOKE_DEFAULT'
+
+ layout.separator()
+ layout.operator_context = 'INVOKE_REGION_WIN'
+ layout.operator("sequencer.refresh_all", icon='FILE_REFRESH', text="Refresh All")
+ layout.operator_context = 'INVOKE_DEFAULT'
if is_sequencer_view:
layout.separator()
@@ -401,12 +406,6 @@ class SEQUENCER_MT_view(Menu):
layout.menu("SEQUENCER_MT_range")
layout.separator()
- layout.operator_context = 'INVOKE_REGION_WIN'
- layout.operator("sequencer.refresh_all", icon='FILE_REFRESH', text="Refresh All")
-
- layout.separator()
- layout.operator_context = 'INVOKE_DEFAULT'
-
layout.prop(st, "show_locked_time")
layout.separator()