summaryrefslogtreecommitdiff
path: root/demos/constraint-editor/constraint-editor.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-11-17 23:15:51 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-11-17 23:16:57 -0500
commit36ef94b002ace20f4a8665b2f15b59f98983add7 (patch)
treeeb8d43a62ae7b18a85d50f27eee862ad59e4436e /demos/constraint-editor/constraint-editor.ui
parent831ebe3ef26ee9069edc8f6162353273eb4dbc43 (diff)
downloadgtk+-constraint-editor-work.tar.gz
constraint-editor: Fix creating constant constraintsconstraint-editor-work
We were not making the button sensitive in the case of a constant constraint, and we were not properly creating constant constraints either.
Diffstat (limited to 'demos/constraint-editor/constraint-editor.ui')
-rw-r--r--demos/constraint-editor/constraint-editor.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/constraint-editor/constraint-editor.ui b/demos/constraint-editor/constraint-editor.ui
index d7c0d0e25b..d201aae350 100644
--- a/demos/constraint-editor/constraint-editor.ui
+++ b/demos/constraint-editor/constraint-editor.ui
@@ -78,6 +78,7 @@
<object class="GtkComboBoxText" id="source_attr">
<signal name="changed" handler="update_preview" swapped="yes"/>
<signal name="changed" handler="source_attr_changed" swapped="yes"/>
+ <signal name="changed" handler="update_button" swapped="yes"/>
<layout>
<property name="column">2</property>
<property name="row">3</property>