[Bf-blender-cvs] [c2a0f5c3d4f] master: File Browser UI: Use 'Install' instead of ''Install Add-on from File...' as the name of the execute button

William Reynish noreply at git.blender.org
Thu Sep 5 10:21:46 CEST 2019


Commit: c2a0f5c3d4fcf42c4a591b765f481b62da896985
Author: William Reynish
Date:   Thu Sep 5 10:13:53 2019 +0200
Branches: master
https://developer.blender.org/rBc2a0f5c3d4fcf42c4a591b765f481b62da896985

File Browser UI: Use 'Install' instead of ''Install Add-on from File...' as the name of the execute button

The old name didn't fit inside the button, and this fits with simpler Open/Save labels too.

===================================================================

M	release/scripts/startup/bl_operators/userpref.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/userpref.py b/release/scripts/startup/bl_operators/userpref.py
index 6ec6855296c..6311bcade7a 100644
--- a/release/scripts/startup/bl_operators/userpref.py
+++ b/release/scripts/startup/bl_operators/userpref.py
@@ -537,7 +537,7 @@ class PREFERENCES_OT_addon_refresh(Operator):
 class PREFERENCES_OT_addon_install(Operator):
     """Install an add-on"""
     bl_idname = "preferences.addon_install"
-    bl_label = "Install Add-on from File..."
+    bl_label = "Install"
 
     overwrite: BoolProperty(
         name="Overwrite",



More information about the Bf-blender-cvs mailing list