Skip to content

Commit

Permalink
Merge pull request #9431 from qgis/backport-9421-on-release-3_6
Browse files Browse the repository at this point in the history
Backport #9421 on release-3_6
  • Loading branch information
m-kuhn committed Mar 8, 2019
2 parents 8177fd4 + 04540b1 commit e4c85cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgsmeasuretool.cpp
Expand Up @@ -68,6 +68,8 @@ QVector<QgsPointXY> QgsMeasureTool::points() const
void QgsMeasureTool::activate()
{
mDialog->show();
mRubberBand->show();
mRubberBandPoints->show();
QgsMapTool::activate();

// ensure that we have correct settings
Expand Down Expand Up @@ -98,6 +100,8 @@ void QgsMeasureTool::deactivate()
mSnapIndicator->setMatch( QgsPointLocator::Match() );

mDialog->hide();
mRubberBand->hide();
mRubberBandPoints->hide();
QgsMapTool::deactivate();
}

Expand Down

0 comments on commit e4c85cd

Please sign in to comment.