mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-14 06:32:33 +01:00
fix clear() (clear red/invalid status)
This commit is contained in:
@@ -55,6 +55,12 @@ void BitcoinAmountField::setText(const QString &text)
|
||||
}
|
||||
}
|
||||
|
||||
void BitcoinAmountField::clear()
|
||||
{
|
||||
amount->clear();
|
||||
decimals->clear();
|
||||
}
|
||||
|
||||
bool BitcoinAmountField::validate()
|
||||
{
|
||||
bool valid = true;
|
||||
|
||||
Reference in New Issue
Block a user