Fix error with all local extensions showing as orphan

Also correct wording in install-file help text.
This commit is contained in:
Campbell Barton
2024-06-20 21:55:40 +10:00
parent ab0e6386fc
commit 1eda5bca68
2 changed files with 2 additions and 2 deletions

View File

@@ -650,7 +650,7 @@ def cli_extension_args_install_file(subparsers: "argparse._SubParsersAction[argp
"install-file",
help="Install package from file.",
description=(
"Install a package file into a local repository."
"Install a package file into a user repository."
),
formatter_class=argparse.RawTextHelpFormatter,
)

View File

@@ -798,7 +798,7 @@ def extensions_panel_draw_impl(
del props
else:
# Right space for alignment with the button.
if item_remote is None:
if has_remote and (item_remote is None):
# There is a local item with no remote
row_right.label(text="Orphan")
row_right.label(text="", icon='ORPHAN_DATA')