Update OptionsNetwork.cpp

This commit is contained in:
DavidXanatos 2022-12-12 18:49:50 +01:00
parent 7a2bb07bea
commit 62bde369e0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ void COptionsWindow::CreateNetwork()
void COptionsWindow::LoadINetAccess()
{
m_IsEnabledWFP = m_pBox->GetAPI()->GetGlobalSettings()->GetBool("NetworkEnableWFP", false);
// check if we are blockign globally and if so adapt the behavioure accordingly
// check if we are blockign globaly and if so adapt the behavioure accordingly
m_WFPisBlocking = !m_pBox->GetAPI()->GetGlobalSettings()->GetBool("AllowNetworkAccess", true);
ui.lblNoWfp->setVisible(!m_IsEnabledWFP); // warn user that this is only user mode