fix clear() (clear red/invalid status)

This commit is contained in:
Wladimir J. van der Laan
2011-07-22 17:06:37 +02:00
parent 174b3eddc0
commit 73cd5e5212
5 changed files with 16 additions and 1 deletions

View File

@@ -55,6 +55,12 @@ void BitcoinAmountField::setText(const QString &text)
}
}
void BitcoinAmountField::clear()
{
amount->clear();
decimals->clear();
}
bool BitcoinAmountField::validate()
{
bool valid = true;