Fix display of 'hw stats' when internet gets enabled in the option:

it was actually showing the state of the 'chat', not 'hw-stats'.
This commit is contained in:
hiker 2019-02-08 18:00:50 +11:00 committed by Deve
parent f387d95627
commit 507d5d89e9

View File

@ -177,7 +177,7 @@ void OptionsScreenGeneral::eventCallback(Widget* widget, const std::string& name
stats_label->setVisible(true);
stats->setState(UserConfigParams::m_hw_report_enable);
chat->setVisible(true);
stats->setState(UserConfigParams::m_lobby_chat);
chat->setState(UserConfigParams::m_lobby_chat);
chat_label->setVisible(true);
}
else