Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix multiline description strings
  • Loading branch information
nyalldawson committed Feb 1, 2019
1 parent f77cf4f commit bc76678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/processing/models/qgsprocessingmodelalgorithm.cpp
Expand Up @@ -413,7 +413,7 @@ QStringList QgsProcessingModelAlgorithm::asPythonCode( const QgsProcessing::Pyth
if ( !shortHelpString().isEmpty() )
{
lines << indent + QStringLiteral( "def shortHelpString(self):" );
lines << indent + indent + QStringLiteral( "return '%1'" ).arg( shortHelpString() );
lines << indent + indent + QStringLiteral( "return \"\"\"%1\"\"\"" ).arg( shortHelpString() );
lines << QString();
}
if ( !helpUrl().isEmpty() )
Expand Down

0 comments on commit bc76678

Please sign in to comment.