Skip to content

Commit 0121225

Browse files
committedOct 27, 2023
fix consistent mesh symbology
1 parent 8c8a43b commit 0121225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/mesh/qgsmeshlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ QgsMeshRendererSettings QgsMeshLayer::accordSymbologyWithGroupName( const QgsMes
14361436

14371437
if ( !activeScalarName.isEmpty() )
14381438
consistentSettings.setActiveScalarDatasetGroup( mDatasetGroupStore->indexFromGroupName( activeScalarName ) );
1439-
if ( activeVectorName.isEmpty() )
1439+
if ( !activeVectorName.isEmpty() )
14401440
consistentSettings.setActiveVectorDatasetGroup( mDatasetGroupStore->indexFromGroupName( activeVectorName ) );
14411441

14421442
return consistentSettings;

0 commit comments

Comments
 (0)
Please sign in to comment.