Browse Source

Reset unit to default when clearing the field, to prevent confusion

miguelfreitas
Wladimir J. van der Laan 14 years ago
parent
commit
83c8d678aa
  1. 2
      src/qt/bitcoinamountfield.cpp

2
src/qt/bitcoinamountfield.cpp

@ -66,6 +66,8 @@ void BitcoinAmountField::clear() @@ -66,6 +66,8 @@ void BitcoinAmountField::clear()
{
amount->clear();
decimals->clear();
// TODO: set default based on configuration
unit->setCurrentIndex(0);
}
bool BitcoinAmountField::validate()

Loading…
Cancel
Save