Skip to content
Permalink
Browse files

[processing] restore Help button functionality in modeler (fix #17483)

  • Loading branch information
alexbruy committed Nov 23, 2017
1 parent 03e4756 commit 3a576d80b230779150ea560eb5c1b148633888f2
Showing with 8 additions and 3 deletions.
  1. +8 −3 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -53,7 +53,8 @@

from qgis.gui import (QgsMessageBar,
QgsScrollArea,
QgsFilterLineEdit)
QgsFilterLineEdit,
QgsHelp)

from processing.gui.wrappers import WidgetWrapperFactory
from processing.gui.wrappers import InvalidParameterValue
@@ -362,6 +363,10 @@ def cancelPressed(self):
self.reject()

def openHelp(self):
algHelp = self._alg.help()
if algHelp is not None:
algHelp = self._alg.helpUrl()
if not algHelp:
algHelp = QgsHelp.helpUrl("processing_algs/{}/{}".format(
self._alg.provider().id(), self._alg.id())).toString()

if algHelp not in [None, ""]:
webbrowser.open(algHelp)

0 comments on commit 3a576d8

Please sign in to comment.
You can’t perform that action at this time.