Skip to content
Permalink
Browse files

[processing] If algorithm has no short help, show description in algo…

…rithm dialog instead
  • Loading branch information
nyalldawson committed May 16, 2018
1 parent b98f8f1 commit 0e831da8a607bce53fa9c218a1e29251c3bc55cf
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
@@ -485,6 +485,10 @@ QString QgsProcessingAlgorithmDialogBase::formatHelp( QgsProcessingAlgorithm *al
}
return QStringLiteral( "<h2>%1</h2>%2" ).arg( algorithm->displayName(), help );
}
else if ( !algorithm->shortDescription().isEmpty() )
{
return QStringLiteral( "<h2>%1</h2><p>%2</p>" ).arg( algorithm->displayName(), algorithm->shortDescription() );
}
else
return QString();
}

0 comments on commit 0e831da

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