Allow addon Reports to specify a help button URL for options dialog
Fixes #10910
This commit is contained in:
parent
8fc03f85a1
commit
96e4707c89
@ -581,7 +581,10 @@ class ReportDialog(ManagedWindow):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def on_help_clicked(self, *obj):
|
def on_help_clicked(self, *obj):
|
||||||
from ...display import display_help
|
from ...display import display_help, display_url
|
||||||
|
if hasattr(self.options, 'help_url'):
|
||||||
|
display_url(self.options.help_url)
|
||||||
|
return
|
||||||
display_help(URL_REPORT_PAGE, self.report_name.replace(" ", "_"))
|
display_help(URL_REPORT_PAGE, self.report_name.replace(" ", "_"))
|
||||||
|
|
||||||
def on_style_edit_clicked(self, *obj):
|
def on_style_edit_clicked(self, *obj):
|
||||||
|
Loading…
Reference in New Issue
Block a user