disable IP filter tab when using a hidden node

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-06-10 19:12:46 +00:00
parent 20c27b7957
commit b9a620ee39

View File

@ -214,17 +214,18 @@ void ServerPage::load()
{
return;
}
loadFilteredIps() ;
mIsHiddenNode = (detail.netMode == RS_NETMODE_HIDDEN);
if (mIsHiddenNode)
{
if (mIsHiddenNode)
{
ui.tabWidget->setTabEnabled(1,false) ;
loadHiddenNode();
return;
}
ui.netModeComboBox->show() ;
loadFilteredIps() ;
ui.netModeComboBox->show() ;
ui.hiddenMode_LB->hide() ;
/* set net mode */