diff options
author | Julian Eisel <julian@blender.org> | 2021-10-29 17:45:08 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-11-01 14:12:28 +0300 |
commit | 2a4dfaa0e962d69345398833ea2f1b831fc6c202 (patch) | |
tree | ffb3bfcc430ff160b246cea8967002898062f786 /release/scripts/startup/bl_ui/space_filebrowser.py | |
parent | 81bd49d4fea41f6e569f3778724b33f15e95f853 (diff) |
Asset Browser: Correct name & tooltip for asset list refresh operator
The name and tooltip were talking about file-lists, which exposes the
fact that the Asset Browser uses the File Browser code in the UI, which
we shouldn't do. This can confuse users.
Instead have a dedicated operator for the Asset Browser with a proper
name and tooltip.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_filebrowser.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_filebrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py index a33e2665b58..05f505c518d 100644 --- a/release/scripts/startup/bl_ui/space_filebrowser.py +++ b/release/scripts/startup/bl_ui/space_filebrowser.py @@ -792,7 +792,7 @@ class ASSETBROWSER_MT_context_menu(AssetBrowserMenu, Menu): st = context.space_data params = st.params - layout.operator("file.refresh", text="Refresh") + layout.operator("file.asset_library_refresh") layout.separator() |