Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 05ff82e

Browse files
committed
Add a bug report/feature request button in the settings of the addon
1 parent 006e3f3 commit 05ff82e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dublast/preferences.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class DUBLAST_UpdateBox(dublf.ops.UpdateBox):
3636
addonName = __package__
3737
openURLOp = DUBLAST_OpenURL.bl_idname
3838

39+
class DUBLAST_OT_ReportIssue( dublf.ops.DUBLF_OT_ReportIssue ):
40+
bl_idname = "dublast.reportissue"
41+
addonName = __package__
42+
3943
class DUBLAST_Preferences( bpy.types.AddonPreferences ):
4044
bl_idname = __package__
4145

@@ -53,6 +57,7 @@ def draw(self, context):
5357
layout = self.layout
5458
layout.prop(self, "check_updates")
5559
layout.operator("dublast.updatebox", text="Check for updates now")
60+
layout.operator("dublast.reportissue")
5661

5762
@persistent
5863
def checkUpdateHandler(arg1, arg2):
@@ -61,6 +66,7 @@ def checkUpdateHandler(arg1, arg2):
6166
classes = (
6267
DUBLAST_OpenURL,
6368
DUBLAST_UpdateBox,
69+
DUBLAST_OT_ReportIssue,
6470
DUBLAST_Preferences,
6571
)
6672

0 commit comments

Comments
 (0)