Merge pull request #3177 from jolavillette/FixI2PProxyUneditable

fix: initialize mSamSettings to prevent i2p proxy fields being uneditable without SAM3
This commit is contained in:
csoler 2026-03-11 12:10:48 +01:00 committed by GitHub
commit 47398f7d03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,6 +88,8 @@ ServerPage::ServerPage(QWidget * parent, Qt::WindowFlags flags)
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
mSamSettings.initDefault();
#ifndef RS_USE_I2P_SAM3
ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P); // warning: the order of operation here is very important.
#endif