Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-21 06:18:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-21 06:18:25 +0400
commit628353835cc697dfc028088ff583620625a07393 (patch)
tree08a1c1f7e6214cde646142f18ff3d8c1bf9f5b28 /release
parent0865b4f48e911b1565334ea7df5c55d85708e938 (diff)
Fix T40267: Addon's bug tracker urls not respected
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 18f7c53a616..bc478ed8713 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1310,8 +1310,9 @@ class USERPREF_PT_addons(Panel):
split.label(text="Internet:")
if info["wiki_url"]:
split.operator("wm.url_open", text="Documentation", icon='HELP').url = info["wiki_url"]
- tracker_url = "http://developer.blender.org/maniphest/task/create/?project=3&type=Bug"
- split.operator("wm.url_open", text="Report a Bug", icon='URL').url = tracker_url
+ split.operator("wm.url_open", text="Report a Bug", icon='URL').url = info.get(
+ "tracker_url",
+ "http://developer.blender.org/maniphest/task/create/?project=3&type=Bug")
if user_addon:
split.operator("wm.addon_remove", text="Remove", icon='CANCEL').module = mod.__name__