Skip to content

Commit

Permalink
Followup f67a08a, hide measurement rubberband on window close
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 27, 2015
1 parent 1cbbf59 commit 6eb1404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsmeasuredialog.cpp
Expand Up @@ -207,7 +207,7 @@ void QgsMeasureDialog::removeLastPoint()

void QgsMeasureDialog::closeEvent( QCloseEvent *e )
{
saveWindowLocation();
reject();
e->accept();
}

Expand Down Expand Up @@ -349,6 +349,7 @@ void QgsMeasureDialog::convertMeasurement( double &measure, QGis::UnitType &u, b

void QgsMeasureDialog::reject()
{
saveWindowLocation();
restart();
QDialog::close();
}

0 comments on commit 6eb1404

Please sign in to comment.