gui: make import assistant window a modal window
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 19 Jun 2022 14:30:42 +0000 (16:30 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 19 Jun 2022 14:30:42 +0000 (16:30 +0200)
I changed the import assistant window to a modal window such that
the other windows cannot be changed while the import is ongoing.
There are problems when the main window is closed during the import.

Closing: https://savannah.gnu.org/bugs/?62448

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

index ea71b4050ba907c2179ae59899981747797a227b..9e8ef8d3715453d6fad03f438c8a66823734fd34 100644 (file)
@@ -461,6 +461,7 @@ psppire_import_assistant_init (PsppireImportAssistant *ia)
                         _("Importing Delimited Text Data"));
 
   gtk_window_set_icon_name (GTK_WINDOW (ia), "pspp");
+  gtk_window_set_modal (GTK_WINDOW(ia), TRUE);
 
   chooser_page_create (ia);