Skip to content

Commit 6eb1404

Browse files
committedMay 27, 2015
Followup f67a08a, hide measurement rubberband on window close
1 parent 1cbbf59 commit 6eb1404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgsmeasuredialog.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void QgsMeasureDialog::removeLastPoint()
207207

208208
void QgsMeasureDialog::closeEvent( QCloseEvent *e )
209209
{
210-
saveWindowLocation();
210+
reject();
211211
e->accept();
212212
}
213213

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

350350
void QgsMeasureDialog::reject()
351351
{
352+
saveWindowLocation();
352353
restart();
353354
QDialog::close();
354355
}

0 commit comments

Comments
 (0)
Please sign in to comment.