mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
GUI fix: previous character was selected when saving new character
This commit is contained in:
parent
34cdd2bb1f
commit
63721682f6
@ -63,7 +63,7 @@ namespace MWGui
|
||||
mCharacterSelection->addItem (title.str());
|
||||
|
||||
if (mCurrentCharacter == &*it ||
|
||||
(!mCurrentCharacter && directory==Misc::StringUtils::lowerCase (
|
||||
(!mCurrentCharacter && !mSaving && directory==Misc::StringUtils::lowerCase (
|
||||
it->begin()->mPath.parent_path().filename().string())))
|
||||
{
|
||||
mCurrentCharacter = &*it;
|
||||
|
Loading…
Reference in New Issue
Block a user