aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoinamountfield.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp
index 7fe28f9a17..f1b4e9fdc3 100644
--- a/src/qt/bitcoinamountfield.cpp
+++ b/src/qt/bitcoinamountfield.cpp
@@ -66,6 +66,8 @@ void BitcoinAmountField::clear()
{
amount->clear();
decimals->clear();
+ // TODO: set default based on configuration
+ unit->setCurrentIndex(0);
}
bool BitcoinAmountField::validate()