forked from bartvdbraak/blender
Fix T40267: Addon's bug tracker urls not respected
This commit is contained in:
parent
0865b4f48e
commit
628353835c
@ -1310,8 +1310,9 @@ class USERPREF_PT_addons(Panel):
|
|||||||
split.label(text="Internet:")
|
split.label(text="Internet:")
|
||||||
if info["wiki_url"]:
|
if info["wiki_url"]:
|
||||||
split.operator("wm.url_open", text="Documentation", icon='HELP').url = 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 = info.get(
|
||||||
split.operator("wm.url_open", text="Report a Bug", icon='URL').url = tracker_url
|
"tracker_url",
|
||||||
|
"http://developer.blender.org/maniphest/task/create/?project=3&type=Bug")
|
||||||
if user_addon:
|
if user_addon:
|
||||||
split.operator("wm.addon_remove", text="Remove", icon='CANCEL').module = mod.__name__
|
split.operator("wm.addon_remove", text="Remove", icon='CANCEL').module = mod.__name__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user