From fdf80ea7b19dde7ddec3baffeb1400fe1ca1c37a Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 31 Jan 2015 17:39:22 +0100 Subject: [PATCH] [Qt] allow unit changes for read-only BitcoinAmountField - fixes #5725 --- src/qt/bitcoinamountfield.cpp | 1 - 1 file changed, 1 deletion(-) 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)