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/qgis@8933 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 27, 2008
1 parent e86fe1c commit 5eddd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Original file line number Diff line number Diff line change
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 5eddd02

Please sign in to comment.