1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

fixed selecting current character based on value stored in settings

This commit is contained in:
Marc Zinnschlag 2013-11-30 11:08:41 +01:00
parent 750133c0dd
commit aebc2791a5

View File

@ -65,7 +65,10 @@ namespace MWGui
if (mCurrentCharacter == &*it ||
(!mCurrentCharacter && directory==Misc::StringUtils::lowerCase (
it->begin()->mPath.parent_path().filename().string())))
{
mCurrentCharacter = &*it;
mCharacterSelection->setIndexSelected(mCharacterSelection->getItemCount()-1);
}
}
}