mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 09:08:41 +02:00
settings: fix proxy switch crash
This commit is contained in:
@@ -378,6 +378,7 @@ void Settings::onProxySettingsChanged() {
|
||||
ui->closeButton->addButton(QDialogButtonBox::Apply);
|
||||
connect(ui->closeButton->button(QDialogButtonBox::Apply), &QAbstractButton::clicked, [this](){
|
||||
ui->proxyWidget->setProxySettings();
|
||||
m_nodes->updateModels();
|
||||
emit proxySettingsChanged();
|
||||
ui->closeButton->removeButton(ui->closeButton->button(QDialogButtonBox::Apply));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user