mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-04 03:19:41 +00:00
Check to make sure button is enabled
This commit is contained in:
parent
6ec66fa95f
commit
14c9e858c8
1 changed files with 2 additions and 1 deletions
|
@ -348,6 +348,7 @@ namespace MWGui
|
||||||
if (id >= separatorPos)
|
if (id >= separatorPos)
|
||||||
{
|
{
|
||||||
onTopicActivated(topic);
|
onTopicActivated(topic);
|
||||||
|
if (mGoodbyeButton->getEnabled())
|
||||||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mGoodbyeButton);
|
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mGoodbyeButton);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue