mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Followup f67a08a, hide measurement rubberband on window close
This commit is contained in:
parent
1cbbf594d3
commit
6eb1404a59
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user