forked from mirror/openmw-tes3mp
GUI fix: previous character was selected when saving new character
This commit is contained in:
parent
34cdd2bb1f
commit
63721682f6
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ namespace MWGui
|
||||||
mCharacterSelection->addItem (title.str());
|
mCharacterSelection->addItem (title.str());
|
||||||
|
|
||||||
if (mCurrentCharacter == &*it ||
|
if (mCurrentCharacter == &*it ||
|
||||||
(!mCurrentCharacter && directory==Misc::StringUtils::lowerCase (
|
(!mCurrentCharacter && !mSaving && directory==Misc::StringUtils::lowerCase (
|
||||||
it->begin()->mPath.parent_path().filename().string())))
|
it->begin()->mPath.parent_path().filename().string())))
|
||||||
{
|
{
|
||||||
mCurrentCharacter = &*it;
|
mCurrentCharacter = &*it;
|
||||||
|
|
Loading…
Reference in a new issue