country to lower (fix win bug)

This commit is contained in:
Zach H 2015-08-15 21:31:30 -04:00
parent 9c28cdd1f5
commit 41b10308ba
3 changed files with 2 additions and 4 deletions

View file

@ -35,7 +35,7 @@ DlgEditUser::DlgEditUser(QWidget *parent, QString email, int gender, QString cou
foreach(QString c, countries)
{
countryEdit->addItem(QPixmap(":/resources/countries/" + c + ".svg"), c);
if(c == country)
if (c == country)
countryEdit->setCurrentIndex(i);
++i;