Skip to content

Commit

Permalink
[processing] fix condition and use more generic "htm" constant for
Browse files Browse the repository at this point in the history
filter testing

(cherry picked from commit 6f38a50)
  • Loading branch information
alexbruy committed Mar 2, 2018
1 parent c39e2a4 commit a648d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingparameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3386,7 +3386,7 @@ QString QgsProcessingParameterFileDestination::valueAsPythonString( const QVaria

QgsProcessingOutputDefinition *QgsProcessingParameterFileDestination::toOutputDefinition() const
{
if ( !mFileFilter.isEmpty() and mFileFilter.contains( QStringLiteral( "html" ), Qt::CaseInsensitive ) )
if ( !mFileFilter.isEmpty() && mFileFilter.contains( QStringLiteral( "htm" ), Qt::CaseInsensitive ) )
{
return new QgsProcessingOutputHtml( name(), description() );
}
Expand Down

0 comments on commit a648d91

Please sign in to comment.