Skip to content
Permalink
Browse files

[processing] fix condition and use more generic "htm" constant for

filter testing

(cherry picked from commit 6f38a50)
  • Loading branch information
alexbruy committed Mar 2, 2018
1 parent c39e2a4 commit a648d917293a3b8b590991dfa9034d40acdd4528
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingparameters.cpp
@@ -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() );
}

0 comments on commit a648d91

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