mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 13:46:39 +00:00
Prevent controller from dismissing dialog window when there is a choice active
This commit is contained in:
parent
ffac1cdf3c
commit
ee33424c20
1 changed files with 1 additions and 1 deletions
|
|
@ -982,7 +982,7 @@ namespace MWGui
|
|||
onSelectListItem(mTopicsList->getItemNameAt(mControllerFocus), mControllerFocus);
|
||||
MWBase::Environment::get().getWindowManager()->playSound(ESM::RefId::stringRefId("Menu Click"));
|
||||
}
|
||||
else if (arg.button == SDL_CONTROLLER_BUTTON_B && mChoices.size() < 2)
|
||||
else if (arg.button == SDL_CONTROLLER_BUTTON_B && mChoices.empty())
|
||||
{
|
||||
onGoodbyeActivated();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue