diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-09-02 14:27:41 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-09-16 11:17:31 +0200 |
commit | bd5c826a9630f41255497e0c9a0f1872b5ab78d5 (patch) | |
tree | 95b38ddf5c940d7ba927174b0723eaf50f51431f /src/qt/optionsdialog.cpp | |
parent | b997dd211ecfe5d0d6f757b8426ad81e40219143 (diff) | |
download | bitcoin-bd5c826a9630f41255497e0c9a0f1872b5ab78d5.tar.xz |
gui: add RPC setting
Diffstat (limited to 'src/qt/optionsdialog.cpp')
-rw-r--r-- | src/qt/optionsdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 5ad4fc9b33..72d6a7e6ce 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -210,6 +210,7 @@ void OptionsDialog::setModel(OptionsModel *_model) connect(ui->spendZeroConfChange, &QCheckBox::clicked, this, &OptionsDialog::showRestartWarning); /* Network */ connect(ui->allowIncoming, &QCheckBox::clicked, this, &OptionsDialog::showRestartWarning); + connect(ui->enableServer, &QCheckBox::clicked, this, &OptionsDialog::showRestartWarning); connect(ui->connectSocks, &QCheckBox::clicked, this, &OptionsDialog::showRestartWarning); connect(ui->connectSocksTor, &QCheckBox::clicked, this, &OptionsDialog::showRestartWarning); /* Display */ @@ -246,6 +247,7 @@ void OptionsDialog::setMapper() mapper->addMapping(ui->mapPortUpnp, OptionsModel::MapPortUPnP); mapper->addMapping(ui->mapPortNatpmp, OptionsModel::MapPortNatpmp); mapper->addMapping(ui->allowIncoming, OptionsModel::Listen); + mapper->addMapping(ui->enableServer, OptionsModel::Server); mapper->addMapping(ui->connectSocks, OptionsModel::ProxyUse); mapper->addMapping(ui->proxyIp, OptionsModel::ProxyIP); |