Skip to content
Permalink
Browse files

Followup f67a08a, hide measurement rubberband on window close

  • Loading branch information
m-kuhn committed May 27, 2015
1 parent 1cbbf59 commit 6eb1404a59b0b2817fb7860e1f6fffd5fe89b423
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsmeasuredialog.cpp
@@ -207,7 +207,7 @@ void QgsMeasureDialog::removeLastPoint()

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

@@ -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.