diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-01-31 17:39:22 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-01-31 17:39:22 +0100 |
commit | fdf80ea7b19dde7ddec3baffeb1400fe1ca1c37a (patch) | |
tree | 76dbe5e07f6c73f3827e52c670c611046706680d | |
parent | 6af674ecdc99db2eb741b8dc79e44bd0202e3855 (diff) | |
download | bitcoin-fdf80ea7b19dde7ddec3baffeb1400fe1ca1c37a.tar.xz |
[Qt] allow unit changes for read-only BitcoinAmountField
- fixes #5725
-rw-r--r-- | src/qt/bitcoinamountfield.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp index 4c00aca985..d31a1e018b 100644 --- a/src/qt/bitcoinamountfield.cpp +++ b/src/qt/bitcoinamountfield.cpp @@ -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) |