mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix multiline description strings
This commit is contained in:
parent
f77cf4fae4
commit
bc76678e74
@ -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() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user