UI VSE: Use icon for Refresh Sequencer button in the header.

This commit is contained in:
Pablo Vazquez 2018-11-05 15:34:13 +01:00
parent 3e5e4a05f1
commit 72a23e6564
Notes: blender-bot 2023-02-14 08:08:54 +01:00
Referenced by issue #57639, Crash related to ui_tooltip
1 changed files with 2 additions and 6 deletions

View File

@ -89,13 +89,9 @@ class SEQUENCER_HT_header(Header):
layout.template_running_jobs()
if st.view_type == 'SEQUENCER':
if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
layout.separator()
layout.operator("sequencer.refresh_all")
if st.view_type == '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)