Skip to content
Permalink
Browse files

update measure dialog only when visible

  • Loading branch information
jef-n committed Sep 17, 2012
1 parent aad3f4e commit a544133e46e9b1ff7395b8bcb2ad265ad6afef19
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsmeasuredialog.cpp
@@ -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();

0 comments on commit a544133

Please sign in to comment.
You can’t perform that action at this time.