Skip to content

Commit 09342e7

Browse files
author
timlinux
committedJul 27, 2008
Fixed bug where current theme could overwrite the combo text of a different combo item
git-svn-id: http://svn.osgeo.org/qgis/trunk@8933 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7cc88b1 commit 09342e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsoptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ QgsOptions::QgsOptions(QWidget *parent, Qt::WFlags fl) :
105105
}
106106

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.