Browse Source

Force refresh after settings update

recurring 0.4.2
adityapk00 6 years ago
parent
commit
1d9efbfcfe
  1. 6
      src/mainwindow.ui
  2. 5
      src/rpc.cpp

6
src/mainwindow.ui

@ -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>

5
src/rpc.cpp

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

Loading…
Cancel
Save