mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Merge pull request #5729
fdf80ea
[Qt] allow unit changes for read-only BitcoinAmountField (Philip Kaufmann)
This commit is contained in:
commit
9c4a5a5067
@ -278,7 +278,6 @@ void BitcoinAmountField::setValue(const CAmount& value)
|
|||||||
void BitcoinAmountField::setReadOnly(bool fReadOnly)
|
void BitcoinAmountField::setReadOnly(bool fReadOnly)
|
||||||
{
|
{
|
||||||
amount->setReadOnly(fReadOnly);
|
amount->setReadOnly(fReadOnly);
|
||||||
unit->setEnabled(!fReadOnly);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BitcoinAmountField::unitChanged(int idx)
|
void BitcoinAmountField::unitChanged(int idx)
|
||||||
|
Loading…
Reference in New Issue
Block a user