Import Assistant: Disallow editing of the data sheet previewer.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 5 Jul 2018 16:49:24 +0000 (18:49 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 5 Jul 2018 16:49:24 +0000 (18:49 +0200)
* src/ui/gui/psppire-import-assistant.c (formats_page_create): Set the editable
property on the data sheet.

src/ui/gui/psppire-import-assistant.c

index c9b8f0ad59283a8c7cb875707f41a24080e76229..da72d507132f300647eac659e359f6f9460d9fb6 100644 (file)
@@ -1377,6 +1377,7 @@ formats_page_create (PsppireImportAssistant *ia)
   if (ia->data_sheet == NULL)
     {
       ia->data_sheet = psppire_data_sheet_new ();
+      g_object_set (ia->data_sheet, "editable", FALSE, NULL);
 
       gtk_container_add (GTK_CONTAINER (data_scroller), ia->data_sheet);