Skip to content

Commit

Permalink
fix unwanted Z value widget
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Sep 22, 2021
1 parent acf302e commit eed24cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/mesh/qgsmaptooleditmeshframe.cpp
Expand Up @@ -317,6 +317,9 @@ QgsMapToolEditMeshFrame::QgsMapToolEditMeshFrame( QgsMapCanvas *canvas )

connect( cadDockWidget(), &QgsAdvancedDigitizingDockWidget::cadEnabledChanged, this, [this]( bool enable )
{
if ( !isActive() || !mCurrentEditor )
return;

if ( enable && mSelectedVertices.isEmpty() )
deleteZValueWidget();
else if ( !mZValueWidget )
Expand Down

0 comments on commit eed24cb

Please sign in to comment.