1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:23:54 +00:00

break after activating button

This commit is contained in:
Tom Mason 2013-02-10 15:41:02 +00:00
parent 158c6fc9fa
commit c32c31f6d6

View file

@ -373,7 +373,10 @@ void InteractiveMessageBox::enterPressed()
for(button = mButtons.begin(); button != mButtons.end(); ++button)
{
if(Misc::StringUtils::lowerCase((*button)->getCaption()) == ok)
{
buttonActivated(*button);
break;
}
}
}