Skip to content
Permalink
Browse files

Fix multiline description strings

  • Loading branch information
nyalldawson committed Feb 1, 2019
1 parent f77cf4f commit bc76678e7409d45539a8210e1f70c073a5d7488c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/models/qgsprocessingmodelalgorithm.cpp
@@ -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() )

0 comments on commit bc76678

Please sign in to comment.
You can’t perform that action at this time.