aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms
diff options
context:
space:
mode:
authorHaakon Nilsen <haakonn@gmail.com>2014-03-15 00:41:23 +0100
committerHaakon Nilsen <haakonn@gmail.com>2014-03-15 00:41:23 +0100
commitcaee92dfa85ac7ddcf2749852af711ec53b38d08 (patch)
treedd20bd4e38796ffc7bc4edd05260443d0f8feccc /src/qt/forms
parenta78eed26c59ce30b1395e92db2f033121f2af179 (diff)
qt: Enable and disable the Show and Remove buttons for requested payments history
based on whether any entry is selected.
Diffstat (limited to 'src/qt/forms')
-rw-r--r--src/qt/forms/receivecoinsdialog.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/forms/receivecoinsdialog.ui b/src/qt/forms/receivecoinsdialog.ui
index 3e1a8bccc7..e1a0a28f81 100644
--- a/src/qt/forms/receivecoinsdialog.ui
+++ b/src/qt/forms/receivecoinsdialog.ui
@@ -263,6 +263,9 @@
<property name="text">
<string>Show</string>
</property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
@@ -277,6 +280,9 @@
<property name="text">
<string>Remove</string>
</property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>