Delete button is disable if no record selected.

This commit is contained in:
2016-05-29 14:08:01 +02:00
parent 726da24de9
commit 2bd6b41642
3 changed files with 17 additions and 0 deletions
+6
View File
@@ -48,6 +48,9 @@
</item>
<item>
<widget class="QToolButton" name="btnEdit">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Edit record</string>
</property>
@@ -71,6 +74,9 @@
</item>
<item>
<widget class="QToolButton" name="btnDelete">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Delete record</string>
</property>