From 00392397dc983af866ca92bb83b0113a22f6207c Mon Sep 17 00:00:00 2001 From: Harrissou Sant-anna Date: Mon, 16 Dec 2024 17:41:10 +0100 Subject: [PATCH] Format alg helpUrl to match actually generated URL replacing "_" characters by "-" --- src/gui/processing/qgsprocessingalgorithmdialogbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/processing/qgsprocessingalgorithmdialogbase.cpp b/src/gui/processing/qgsprocessingalgorithmdialogbase.cpp index 382c5d965faf..a7d4a9915061 100644 --- a/src/gui/processing/qgsprocessingalgorithmdialogbase.cpp +++ b/src/gui/processing/qgsprocessingalgorithmdialogbase.cpp @@ -492,7 +492,7 @@ void QgsProcessingAlgorithmDialogBase::openHelp() QUrl algHelp = mAlgorithm->helpUrl(); if ( algHelp.isEmpty() && mAlgorithm->provider() ) { - algHelp = QgsHelp::helpUrl( QStringLiteral( "processing_algs/%1/%2.html#%3" ).arg( mAlgorithm->provider()->helpId(), mAlgorithm->groupId(), QStringLiteral( "%1%2" ).arg( mAlgorithm->provider()->helpId() ).arg( mAlgorithm->name() ) ) ); + algHelp = QgsHelp::helpUrl( QStringLiteral( "processing_algs/%1/%2.html#%3" ).arg( mAlgorithm->provider()->helpId(), mAlgorithm->groupId(), QStringLiteral( "%1%2" ).arg( mAlgorithm->provider()->helpId() ).arg( mAlgorithm->name().replace( "_", "-" ) ) ) ); } if ( !algHelp.isEmpty() )