diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-10-15 15:26:22 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-10-15 15:26:22 +0200 |
commit | 75fa27eacaa12ce9c9630db787f69fd0d70bcfc3 (patch) | |
tree | 8887c2197fcdf65058e9996733f65478dc4df546 /src/qt/forms | |
parent | 38d15d8b427904a936a4fb4b8ac390bd637e1638 (diff) |
make BitcoinAmountField::setReadOnly() usable
- use it for secure payment-requests (this change allows a copy&paste of
the amount and looks a little nicer than just a disabled GUI element)
Diffstat (limited to 'src/qt/forms')
-rw-r--r-- | src/qt/forms/sendcoinsentry.ui | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/qt/forms/sendcoinsentry.ui b/src/qt/forms/sendcoinsentry.ui index 2c1cec600c..5c6afd6c71 100644 --- a/src/qt/forms/sendcoinsentry.ui +++ b/src/qt/forms/sendcoinsentry.ui @@ -621,7 +621,7 @@ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="buddy"> - <cstring>payAmount</cstring> + <cstring>payAmount_s</cstring> </property> </widget> </item> @@ -640,15 +640,9 @@ </item> <item row="5" column="2"> <widget class="BitcoinAmountField" name="payAmount_s"> - <property name="enabled"> - <bool>false</bool> - </property> <property name="acceptDrops"> <bool>false</bool> </property> - <property name="readOnly"> - <bool>true</bool> - </property> </widget> </item> <item row="3" column="2"> |