Allow custom servers
This commit is contained in:
@@ -443,8 +443,12 @@ void MainWindow::setupSettingsModal() {
|
|||||||
// Save settings
|
// Save settings
|
||||||
Settings::getInstance()->saveSettings(settings.cmbServer->currentText());
|
Settings::getInstance()->saveSettings(settings.cmbServer->currentText());
|
||||||
|
|
||||||
auto cl = new ConnectionLoader(this, rpc);
|
// Save the wallet
|
||||||
cl->loadConnection();
|
getRPC()->saveWallet([=] (auto) {
|
||||||
|
// Then reload the connection
|
||||||
|
auto cl = new ConnectionLoader(this, rpc);
|
||||||
|
cl->loadConnection();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Server</string>
|
<string>Lightwallet Server</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user