Skip to content

Commit

Permalink
Fixed bug where current theme could overwrite the combo text of a dif…
Browse files Browse the repository at this point in the history
…ferent combo item

git-svn-id: http://svn.osgeo.org/qgis/trunk@8933 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 27, 2008
1 parent 7cc88b1 commit 09342e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -105,7 +105,7 @@ QgsOptions::QgsOptions(QWidget *parent, Qt::WFlags fl) :
}

// set the theme combo
cmbTheme->setItemText(cmbTheme->currentIndex(), settings.value("/Themes","default").toString());
cmbTheme->setCurrentIndex(cmbTheme->findText(settings.value("/Themes","default").toString()));

//set the state of the checkboxes
chkAntiAliasing->setChecked(settings.value("/qgis/enable_anti_aliasing",false).toBool());
Expand Down

0 comments on commit 09342e7

Please sign in to comment.