Skip to content

Commit b6f1634

Browse files
elpasonyalldawson
authored andcommitted
Cast to QgsProcessingAlgorithm when evaluating in-place support
1 parent ab69724 commit b6f1634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/processing/qgsprocessingtoolboxmodel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ bool QgsProcessingToolboxProxyModel::filterAcceptsRow( int sourceRow, const QMod
722722
if ( !supportsInPlace )
723723
return false;
724724

725-
const QgsProcessingFeatureBasedAlgorithm *alg = dynamic_cast< const QgsProcessingFeatureBasedAlgorithm * >( mModel->algorithmForIndex( sourceIndex ) );
725+
const QgsProcessingAlgorithm *alg = dynamic_cast< const QgsProcessingAlgorithm * >( mModel->algorithmForIndex( sourceIndex ) );
726726
if ( !( mInPlaceLayer && alg && alg->supportInPlaceEdit( mInPlaceLayer ) ) )
727727
{
728728
return false;

0 commit comments

Comments
 (0)