Skip to content

Commit

Permalink
Persist state of antialiasing option and new layers are hidden option…
Browse files Browse the repository at this point in the history
… and restore when qgsoptions is ctor'd

git-svn-id: http://svn.osgeo.org/qgis/trunk@4662 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 12, 2006
1 parent 3ef477e commit 3847f76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsoptions.cpp
Expand Up @@ -99,6 +99,9 @@ QgsOptions::QgsOptions(QWidget *parent, const char *name, bool modal) :
}
// set the theme combo
cmbTheme->setCurrentText(settings.readEntry("/Themes","default"));
//set teh state of the antialiasing checkbox
chkAntiAliasing->setChecked(settings.value("/qgis/enable_anti_aliasing").toBool());
chkAddedVisibility->setChecked(!settings.value("/qgis/new_layers_visible").toBool());
}

//! Destructor
Expand Down

0 comments on commit 3847f76

Please sign in to comment.