Browse Source

Merge pull request #5729

fdf80ea [Qt] allow unit changes for read-only BitcoinAmountField (Philip Kaufmann)
0.13
Wladimir J. van der Laan 10 years ago
parent
commit
9c4a5a5067
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/qt/bitcoinamountfield.cpp

1
src/qt/bitcoinamountfield.cpp

@ -278,7 +278,6 @@ void BitcoinAmountField::setValue(const CAmount& value) @@ -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)

Loading…
Cancel
Save