X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpage-assistant.c;h=a83fbb2cd5add5204aa9e315c2336ee830f27fea;hb=19cf39ef8802208ca67fc3e1cf12ce4b239aaabf;hp=608412b03cd8db782f5fdf8dcc09bf1a92a29307;hpb=5b59146f8d060754b14eba415dcc9066d8bc7b02;p=pspp diff --git a/src/ui/gui/page-assistant.c b/src/ui/gui/page-assistant.c index 608412b03c..a83fbb2cd5 100644 --- a/src/ui/gui/page-assistant.c +++ b/src/ui/gui/page-assistant.c @@ -158,10 +158,12 @@ on_prepare (GtkAssistant *assistant, GtkWidget *page, if ( ia->spreadsheet) { if (pn == 0) - { - } + { + prepare_sheet_spec_page (ia); + } else if (pn == 1) { + post_sheet_spec_page (ia); prepare_formats_page (ia); } } @@ -228,6 +230,8 @@ on_reset (GtkButton *button, struct import_assistant *ia) reset_separators_page (ia); else if (page == assist_get_page ((struct assist_page *) ia->formats)) reset_formats_page (ia); + else if (page == assist_get_page ((struct assist_page *) ia->sheet_spec)) + reset_sheet_spec_page (ia); } /* Causes the assistant to close, returning RESPONSE for