From 3c54bebc31fd273230ff584ae5644ac9a585c4d3 Mon Sep 17 00:00:00 2001 From: sehraf Date: Sun, 25 Jun 2017 19:19:07 +0200 Subject: [PATCH] hide hidden service port for I2P instead of just disabling it (it's not used for I2P) --- retroshare-gui/src/gui/settings/ServerPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp index 7df4d2662..05ca5ab25 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.cpp +++ b/retroshare-gui/src/gui/settings/ServerPage.cpp @@ -1076,7 +1076,7 @@ void ServerPage::loadHiddenNode() whileBlocking(ui.hiddenpage_serviceAddress)->setText(QString::fromStdString(detail.hiddenNodeAddress)); whileBlocking(ui.hiddenpage_servicePort) -> setValue(detail.hiddenNodePort); /* in I2P there is no port - there is only the address */ - whileBlocking(ui.hiddenpage_servicePort)->setEnabled(detail.hiddenType != RS_HIDDEN_TYPE_I2P); + whileBlocking(ui.hiddenpage_servicePort)->setHidden(detail.hiddenType == RS_HIDDEN_TYPE_I2P); /* out proxy settings */ std::string proxyaddr;