qt: Enable and disable the Show and Remove buttons for requested payments history

based on whether any entry is selected.
This commit is contained in:
Haakon Nilsen
2014-03-15 00:41:23 +01:00
parent a78eed26c5
commit caee92dfa8
3 changed files with 23 additions and 0 deletions

View File

@@ -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>