UI: Move the 'Resolve Conflict' button closer to the text data-block
Moves the Text Editor 'Resolve Conflict' button closer to data-block selector and with 'Question' icon. Differential Revision: https://developer.blender.org/D9266 Reviewed by Hans Goudey
This commit is contained in:
parent
024b65b5e5
commit
d28676d89a
|
@ -35,12 +35,12 @@ class TEXT_HT_header(Header):
|
|||
|
||||
TEXT_MT_editor_menus.draw_collapsible(context, layout)
|
||||
|
||||
layout.separator_spacer()
|
||||
|
||||
if text and text.is_modified:
|
||||
row = layout.row(align=True)
|
||||
row.alert = True
|
||||
row.operator("text.resolve_conflict", text="", icon='HELP')
|
||||
|
||||
layout.separator_spacer()
|
||||
row.operator("text.resolve_conflict", text="", icon='QUESTION')
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.template_ID(st, "text", new="text.new",
|
||||
|
|
Loading…
Reference in New Issue