Skip to content

Commit bc76678

Browse files
committed
Fix multiline description strings
1 parent f77cf4f commit bc76678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/processing/models/qgsprocessingmodelalgorithm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ QStringList QgsProcessingModelAlgorithm::asPythonCode( const QgsProcessing::Pyth
413413
if ( !shortHelpString().isEmpty() )
414414
{
415415
lines << indent + QStringLiteral( "def shortHelpString(self):" );
416-
lines << indent + indent + QStringLiteral( "return '%1'" ).arg( shortHelpString() );
416+
lines << indent + indent + QStringLiteral( "return \"\"\"%1\"\"\"" ).arg( shortHelpString() );
417417
lines << QString();
418418
}
419419
if ( !helpUrl().isEmpty() )

0 commit comments

Comments
 (0)