mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 17:53:04 +02:00
Reset unit to default when clearing the field, to prevent confusion
This commit is contained in:
@@ -66,6 +66,8 @@ void BitcoinAmountField::clear()
|
||||
{
|
||||
amount->clear();
|
||||
decimals->clear();
|
||||
// TODO: set default based on configuration
|
||||
unit->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
bool BitcoinAmountField::validate()
|
||||
|
Reference in New Issue
Block a user