Force refresh after settings update

This commit is contained in:
adityapk00
2018-11-22 09:32:51 -08:00
parent 339b5d9a2c
commit 1d9efbfcfe
2 changed files with 7 additions and 4 deletions

View File

@@ -82,7 +82,10 @@ void RPC::setConnection(Connection* c) {
ui->statusBar->showMessage("Ready!");
refreshZECPrice();
refresh();
// Force update, because this might be coming from a settings update
// where we need to immediately refresh
refresh(true);
}
void RPC::getZAddresses(const std::function<void(json)>& cb) {