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:
parent
750133c0dd
commit
aebc2791a5
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user