From 3321d6ba64c5dc771c1d5a1833480fb4a6aaa795 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 19 Apr 2017 14:29:21 +0200 Subject: [PATCH] Update the datum entry when the selection changes --- src/ui/gui/psppire-data-editor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index 4228c89cb4..797db1f97d 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -443,6 +443,10 @@ psppire_data_editor_set_property (GObject *object, g_object_set (de->data_sheet, "data-model", de->data_store, NULL); psppire_data_editor_refresh_model (de); + g_signal_connect_swapped (de->data_sheet, "selection-changed", + G_CALLBACK (refresh_entry), + de); + g_signal_connect_swapped (de->data_sheet, "value-changed", G_CALLBACK (change_data_value), de->data_store); -- 2.30.2