Update OptionsNetwork.cpp
This commit is contained in:
parent
7a2bb07bea
commit
62bde369e0
|
@ -44,7 +44,7 @@ void COptionsWindow::CreateNetwork()
|
||||||
void COptionsWindow::LoadINetAccess()
|
void COptionsWindow::LoadINetAccess()
|
||||||
{
|
{
|
||||||
m_IsEnabledWFP = m_pBox->GetAPI()->GetGlobalSettings()->GetBool("NetworkEnableWFP", false);
|
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);
|
m_WFPisBlocking = !m_pBox->GetAPI()->GetGlobalSettings()->GetBool("AllowNetworkAccess", true);
|
||||||
|
|
||||||
ui.lblNoWfp->setVisible(!m_IsEnabledWFP); // warn user that this is only user mode
|
ui.lblNoWfp->setVisible(!m_IsEnabledWFP); // warn user that this is only user mode
|
||||||
|
|
Loading…
Reference in New Issue