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

@@ -22,7 +22,7 @@
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -249,7 +249,7 @@
<bool>false</bool>
</property>
<property name="title">
<string>Pay From</string>
<string>From</string>
</property>
<property name="flat">
<bool>false</bool>
@@ -705,7 +705,7 @@
<item row="2" column="1" colspan="2">
<widget class="QLabel" name="rcvBal">
<property name="text">
<string> </string>
<string/>
</property>
</widget>
</item>

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) {