Skip to content

Commit

Permalink
[Qt] allow unit changes for read-only BitcoinAmountField
Browse files Browse the repository at this point in the history
- fixes #5725
  • Loading branch information
Philip Kaufmann committed Jan 31, 2015
1 parent 6af674e commit fdf80ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/qt/bitcoinamountfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdf80ea

Please sign in to comment.