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:
parent
158c6fc9fa
commit
c32c31f6d6
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue