Merge pull request #5729

fdf80ea [Qt] allow unit changes for read-only BitcoinAmountField (Philip Kaufmann)
This commit is contained in:
Wladimir J. van der Laan 2015-02-03 09:47:56 +01:00
commit 9c4a5a5067
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -278,7 +278,6 @@ void BitcoinAmountField::setValue(const CAmount& value)
void BitcoinAmountField::setReadOnly(bool fReadOnly)
{
amount->setReadOnly(fReadOnly);
unit->setEnabled(!fReadOnly);
}
void BitcoinAmountField::unitChanged(int idx)