Skip to content

Commit

Permalink
Merge pull request #9430 from qgis/backport-9421-on-release-3_4
Browse files Browse the repository at this point in the history
Backport #9421 on release-3_4
  • Loading branch information
m-kuhn committed Mar 8, 2019
2 parents 85430b5 + 9fa30c1 commit e264f23
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 e264f23

Please sign in to comment.