From 15962d268e0ede4dcc7c0332667091700cc35bea Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 4 Apr 2017 19:03:34 +0200 Subject: [PATCH] Make the combo boxes in the variable sheet work properly --- src/ui/gui/psppire-data-editor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index 8210a340d6..8fadbf5411 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -268,13 +268,13 @@ change_var_property (PsppireDict *dict, gint col, gint row, GValue *value) var_set_display_width (var, g_value_get_int (value)); break; case DICT_TVM_COL_MEASURE: - var_set_measure (var, g_value_get_enum (value)); + var_set_measure (var, g_value_get_int (value)); break; case DICT_TVM_COL_ALIGNMENT: - var_set_alignment (var, g_value_get_enum (value)); + var_set_alignment (var, g_value_get_int (value)); break; case DICT_TVM_COL_ROLE: - var_set_role (var, g_value_get_enum (value)); + var_set_role (var, g_value_get_int (value)); break; default: g_message ("Changing col %d of var sheet not yet supported", col); -- 2.30.2