Skip to content
Permalink
Browse files

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

filter testing
  • Loading branch information
alexbruy committed Mar 2, 2018
1 parent 22fea14 commit 6f38a5037de30ae4dacf9beb41e269108fb71776
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingparameters.cpp
@@ -3402,7 +3402,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 6f38a50

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