From b9a620ee391684fe0e55f7220173b4436141b34a Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 10 Jun 2015 19:12:46 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/settings/ServerPage.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp index 10ea95c40..31f3ad38f 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.cpp +++ b/retroshare-gui/src/gui/settings/ServerPage.cpp @@ -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 */