Skip to content

Commit

Permalink
fix wkbtype vs type
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Jul 27, 2023
1 parent 3150d9e commit d624ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/maptools/recordingmaptool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ void RecordingMapTool::updateVisibleItems()
else if ( v.type() == Vertex::MidPoint )
{
// for lines show midpoint if previous or next vertex is not active
if ( mRecordedGeometry.wkbType() == Qgis::WkbType::LineString )
if ( mRecordedGeometry.type() == Qgis::GeometryType::Line )
{
if ( i > 0 && i < mVertices.count() - 1 )
{
Expand Down

1 comment on commit d624ada

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 23.07.441911 just submitted!

Please sign in to comment.