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:
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index b91bc2ac3eb..d5d4fa51bf9 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -89,13 +89,9 @@ class SEQUENCER_HT_header(Header):
layout.template_running_jobs()
- if st.view_type == 'SEQUENCER':
- layout.separator()
- layout.operator("sequencer.refresh_all")
-
- if st.view_type == 'SEQUENCER_PREVIEW':
+ if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
layout.separator()
- layout.operator("sequencer.refresh_all")
+ layout.operator("sequencer.refresh_all", icon="FILE_REFRESH", text="")
if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
layout.prop(st, "display_mode", text="", icon_only=True)