mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Check to make sure button is enabled
This commit is contained in:
parent
6ec66fa95f
commit
14c9e858c8
@ -348,7 +348,8 @@ namespace MWGui
|
||||
if (id >= separatorPos)
|
||||
{
|
||||
onTopicActivated(topic);
|
||||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mGoodbyeButton);
|
||||
if (mGoodbyeButton->getEnabled())
|
||||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mGoodbyeButton);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user