Skip to content

Commit

Permalink
emit renderer changed and remove emit of legendChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Jan 16, 2025
1 parent 4d1592d commit 018cc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17192,7 +17192,6 @@ void QgisApp::handleRenderedLayerStatistics() const
meshLayer->setRendererSettings( rendererSettings, false );

meshLayer->emitStyleChanged();
emit meshLayer->legendChanged();
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/core/mesh/qgsmeshlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,10 @@ void QgsMeshLayer::setRendererSettings( const QgsMeshRendererSettings &settings,
if ( oldActiveVector != mRendererSettings.activeVectorDatasetGroup() )
emit activeVectorDatasetGroupChanged( mRendererSettings.activeVectorDatasetGroup() );

emit rendererChanged();

if ( repaint )
{
emit rendererChanged();
triggerRepaint();
}
}
Expand Down

0 comments on commit 018cc53

Please sign in to comment.