aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-01-31 17:39:22 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-01-31 17:39:22 +0100
commitfdf80ea7b19dde7ddec3baffeb1400fe1ca1c37a (patch)
tree76dbe5e07f6c73f3827e52c670c611046706680d /src
parent6af674ecdc99db2eb741b8dc79e44bd0202e3855 (diff)
[Qt] allow unit changes for read-only BitcoinAmountField
- fixes #5725
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoinamountfield.cpp1
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)