Skip to content

Commit a544133

Browse files
committed
update measure dialog only when visible
1 parent aad3f4e commit a544133

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/qgsmeasuredialog.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f )
5858

5959
void QgsMeasureDialog::updateSettings()
6060
{
61+
if ( !isVisible() )
62+
return;
63+
6164
QSettings settings;
6265

6366
mDecimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt();

0 commit comments

Comments
 (0)