aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-02-03 09:47:56 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-02-03 09:49:26 +0100
commit9c4a5a506787130a17f59277ca140bcfdd263e36 (patch)
tree4c1e813e942164f961fe5ca75942e226ce4c6947 /src
parentf425050546644a36b0b8e0eb2f6934a3e0f6f80f (diff)
parentfdf80ea7b19dde7ddec3baffeb1400fe1ca1c37a (diff)
Merge pull request #5729
fdf80ea [Qt] allow unit changes for read-only BitcoinAmountField (Philip Kaufmann)
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)