Extensions: User Interface: Sort advanced repository options

Local Cache and module are not related, so they should not be on the
same row. Instead group Local Cache with custom directory.

Designed with Pablo Vazquez.
This commit is contained in:
Dalai Felinto
2024-04-12 18:10:42 +02:00
parent 8771534434
commit af09a475e4

View File

@@ -2122,11 +2122,10 @@ class USERPREF_PT_extensions_repos(Panel):
# valid UTF-8 which will raise a Python exception when passed in as text.
row.prop(active_repo, "directory", text="")
layout_panel.prop(active_repo, "use_cache")
layout_panel.separator()
row = layout_panel.row()
row.prop(active_repo, "use_cache")
row.prop(active_repo, "module")
layout_panel.prop(active_repo, "module")
# -----------------------------------------------------------------------------