mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
hide hidden service port for I2P instead of just disabling it (it's not used for I2P)
This commit is contained in:
parent
c3a78ce16a
commit
3c54bebc31
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user