i2p: bob: handle CONFIG+=no_rs_bob when creating a new location

This commit is contained in:
sehraf 2020-05-25 22:23:58 +02:00
parent a5a2b49d99
commit 950703c398
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6

View File

@ -340,6 +340,10 @@ void GenCertDialog::setupState()
ui.hiddenport_spinBox->setVisible(hidden_state && !tor_auto);
ui.cbUseBob->setVisible(hidden_state && !tor_auto);
#ifndef RS_USE_I2P_BOB
ui.cbUseBob->setDisabled(true);
ui.cbUseBob->setToolTip(tr("BOB support is not available"));
#endif
if(!mAllFieldsOk)
{