Update balance on ratio change (#1647)
This commit is contained in:
parent
223cdeb854
commit
607c1caccc
1 changed files with 2 additions and 0 deletions
|
@ -1428,6 +1428,8 @@ void nano_qt::wallet::change_rendering_ratio (nano::uint128_t const & rendering_
|
|||
{
|
||||
application.postEvent (&processor, new eventloop_event ([this, rendering_ratio_a]() {
|
||||
this->rendering_ratio = rendering_ratio_a;
|
||||
auto balance_l (this->node.balance_pending (account));
|
||||
this->self.set_balance_text (balance_l);
|
||||
this->refresh ();
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue