Skip to content

Commit

Permalink
fix erasing at iterator pos
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 28, 2022
1 parent 09a4376 commit 6e9a7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/maptools/qgsmaptoolshaperegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void QgsMapToolShapeRegistry::removeMapTool( const QString &id )
{
if ( ( *it )->id() == id )
{
mMapTools.erase( it );
it = mMapTools.erase( it );
}
else
{
Expand Down

0 comments on commit 6e9a7d5

Please sign in to comment.