From 607c1caccc2886df5ee833ae1bdcaf267410b94c Mon Sep 17 00:00:00 2001 From: cryptocode Date: Sat, 26 Jan 2019 22:51:51 +0100 Subject: [PATCH] Update balance on ratio change (#1647) --- nano/qt/qt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nano/qt/qt.cpp b/nano/qt/qt.cpp index 6570fb86..0f252c79 100644 --- a/nano/qt/qt.cpp +++ b/nano/qt/qt.cpp @@ -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 (); })); }