UI: Extensions: Add a separator between Install and the "⌄" button
It was too easy to click on Install by mistake, while trying to click on the "⌄" menu. This is particulary problematic since we enable add-ons by default. Co-authored by: Pablo Vazquez, based on (informal) report by Campbell Barton.
This commit is contained in:
@@ -1188,6 +1188,7 @@ def extension_draw_item(
|
||||
|
||||
row_right = row_right_toplevel.row(align=True)
|
||||
row_right.alignment = 'RIGHT'
|
||||
row_right.separator()
|
||||
|
||||
# Used `extension_path` so the menu can access "this" extension.
|
||||
row_right.context_string_set("extension_path", "{:s}.{:s}".format(repo_item.module, pkg_id))
|
||||
|
||||
Reference in New Issue
Block a user