mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] use groupId when constructing help URL
This commit is contained in:
parent
3692fcdb96
commit
a0ce648175
@ -364,8 +364,8 @@ class ModelerParametersDialog(QDialog):
|
||||
def openHelp(self):
|
||||
algHelp = self._alg.helpUrl()
|
||||
if not algHelp:
|
||||
algHelp = QgsHelp.helpUrl("processing_algs/{}/{}".format(
|
||||
self._alg.provider().id(), self._alg.id())).toString()
|
||||
algHelp = QgsHelp.helpUrl("processing_algs/{}/{}.html{}".format(
|
||||
self._alg.provider().id(), self._alg.groupId(), self._alg.name())).toString()
|
||||
|
||||
if algHelp not in [None, ""]:
|
||||
webbrowser.open(algHelp)
|
||||
|
@ -230,7 +230,7 @@ void QgsProcessingAlgorithmDialogBase::openHelp()
|
||||
QUrl algHelp = mAlgorithm->helpUrl();
|
||||
if ( algHelp.isEmpty() )
|
||||
{
|
||||
algHelp = QgsHelp::helpUrl( QStringLiteral( "processing_algs/%1/%2" ).arg( mAlgorithm->provider()->id(), mAlgorithm->id() ) );
|
||||
algHelp = QgsHelp::helpUrl( QStringLiteral( "processing_algs/%1/%2.html#%3" ).arg( mAlgorithm->provider()->id(), mAlgorithm->groupId(), mAlgorithm->name() ) );
|
||||
}
|
||||
|
||||
if ( !algHelp.isEmpty() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user