Allow custom servers
This commit is contained in:
@@ -442,9 +442,13 @@ void MainWindow::setupSettingsModal() {
|
||||
if (reloadConnection) {
|
||||
// Save settings
|
||||
Settings::getInstance()->saveSettings(settings.cmbServer->currentText());
|
||||
|
||||
auto cl = new ConnectionLoader(this, rpc);
|
||||
cl->loadConnection();
|
||||
|
||||
// Save the wallet
|
||||
getRPC()->saveWallet([=] (auto) {
|
||||
// Then reload the connection
|
||||
auto cl = new ConnectionLoader(this, rpc);
|
||||
cl->loadConnection();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user