Fix pasting from data sheet
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 5 Apr 2017 09:58:59 +0000 (11:58 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 5 Apr 2017 09:58:59 +0000 (11:58 +0200)
src/ui/gui/psppire-data-editor.c

index 8fadbf54117ea6fd6ef64e8f8fe8f3da8dcd18c1..3808b7e822e609abb3f70b0f8dabbc506c57ce5c 100644 (file)
@@ -932,6 +932,8 @@ psppire_data_editor_init (PsppireDataEditor *de)
   de->data_sheet_cases_row_popup = create_data_row_header_popup_menu (de);
   de->var_sheet_row_popup = create_var_row_header_popup_menu (de);
 
+  g_object_set (de->data_sheet, "export-function", myconvfunc, NULL);
+
   g_signal_connect (de->data_sheet, "row-header-pressed",
                    G_CALLBACK (show_cases_row_popup), de);