aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-05-07 10:54:11 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-08-12 13:05:47 -0300
commite62958dc81d215a1c56318d0914dfd9a33d45973 (patch)
tree168b791c0a6e6123a7ae273a4f44c9410ecbee10 /src/qt/sendcoinsdialog.h
parenta8098f2cef53ec003edae91100afce564e9c6f23 (diff)
GUI: sendCoinsDialog, remove duplicate wallet().getBalances() call
Inside setModel, we call 'wallet().getBalances()', to set the view balance, right before calling 'updateDisplayUnit' which calls 'wallet().getBalances()' internally and re-sets the view balance again.
Diffstat (limited to 'src/qt/sendcoinsdialog.h')
-rw-r--r--src/qt/sendcoinsdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/sendcoinsdialog.h b/src/qt/sendcoinsdialog.h
index 400503d0c0..b58d4690a0 100644
--- a/src/qt/sendcoinsdialog.h
+++ b/src/qt/sendcoinsdialog.h
@@ -97,7 +97,7 @@ private Q_SLOTS:
void on_buttonMinimizeFee_clicked();
void removeEntry(SendCoinsEntry* entry);
void useAvailableBalance(SendCoinsEntry* entry);
- void updateDisplayUnit();
+ void refreshBalance();
void coinControlFeatureChanged(bool);
void coinControlButtonClicked();
void coinControlChangeChecked(int);