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,16 +214,17 @@ void ServerPage::load()
{ {
return; return;
} }
loadFilteredIps() ;
mIsHiddenNode = (detail.netMode == RS_NETMODE_HIDDEN); mIsHiddenNode = (detail.netMode == RS_NETMODE_HIDDEN);
if (mIsHiddenNode) if (mIsHiddenNode)
{ {
ui.tabWidget->setTabEnabled(1,false) ;
loadHiddenNode(); loadHiddenNode();
return; return;
} }
loadFilteredIps() ;
ui.netModeComboBox->show() ; ui.netModeComboBox->show() ;
ui.hiddenMode_LB->hide() ; ui.hiddenMode_LB->hide() ;