mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-07 00:03:52 -05:00
Format alg helpUrl to match actually generated URL
replacing "_" characters by "-"
This commit is contained in:
parent
8c21f8fd60
commit
00392397dc
@ -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() )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user