diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-05 17:34:13 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-05 17:34:23 +0300 |
commit | 72a23e6564019636b797ad61ecce59e29199c9b5 (patch) | |
tree | 20b9498ca01925377520504fa70cc3fe11c1e3be /release/scripts | |
parent | 3e5e4a05f134919018423c4f37bdd6240a4520fa (diff) |
UI VSE: Use icon for Refresh Sequencer button in the header.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 8 |
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) |