Skip to content

Commit

Permalink
update measure dialog only when visible
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 17, 2012
1 parent aad3f4e commit a544133
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsmeasuredialog.cpp
Expand Up @@ -58,6 +58,9 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f )

void QgsMeasureDialog::updateSettings()
{
if ( !isVisible() )
return;

QSettings settings;

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

0 comments on commit a544133

Please sign in to comment.