diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp index 9ee9953d2..636e63c77 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.cpp +++ b/retroshare-gui/src/gui/settings/ServerPage.cpp @@ -53,12 +53,13 @@ ServerPage::ServerPage(QWidget * parent, Qt::WFlags flags) ui.allowIpDeterminationCB->setChecked(b) ; ui.IPServersLV->setEnabled(b) ; -// #ifdef RS_RELEASE_VERSION -// ui.allowTunnelConnectionCB->hide(); -// this->toggleTunnelConnection(false); -// #endif - b = rsPeers->getAllowTunnelConnection() ; - ui.allowTunnelConnectionCB->setChecked(b) ; +#ifdef RS_RELEASE_VERSION + ui.allowTunnelConnectionCB->hide(); + this->toggleTunnelConnection(false); +#else + b = rsPeers->getAllowTunnelConnection() ; + ui.allowTunnelConnectionCB->setChecked(b) ; +#endif std::list ip_servers ; rsPeers->getIPServersList(ip_servers) ;