mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-17 10:52:26 -04: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 ||
|
if (mCurrentCharacter == &*it ||
|
||||||
(!mCurrentCharacter && directory==Misc::StringUtils::lowerCase (
|
(!mCurrentCharacter && directory==Misc::StringUtils::lowerCase (
|
||||||
it->begin()->mPath.parent_path().filename().string())))
|
it->begin()->mPath.parent_path().filename().string())))
|
||||||
|
{
|
||||||
|
mCurrentCharacter = &*it;
|
||||||
mCharacterSelection->setIndexSelected(mCharacterSelection->getItemCount()-1);
|
mCharacterSelection->setIndexSelected(mCharacterSelection->getItemCount()-1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user