]> granicus.if.org Git - postgis/commitdiff
Make sure that we clear any previously selected files when (re)opening the import...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Fri, 30 Mar 2012 14:17:42 +0000 (14:17 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Fri, 30 Mar 2012 14:17:42 +0000 (14:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9583 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index 8b195693ab0353acfbcbb202e5925178c3161ea1..b0ac31db02af76157c1f57e743e04f6e2f481eaa 100644 (file)
@@ -1302,6 +1302,9 @@ pgui_action_open_file_dialog(GtkWidget *widget, gpointer data)
        SHPLOADERCONFIG *loader_file_config;
        GSList *filename_list, *filename_item;
        gchar *filename;
+
+       /* Make sure we deselect any files from the last time */
+       gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER(dialog_filechooser));
        
        /* Run the dialog */
        if (gtk_dialog_run(GTK_DIALOG(dialog_filechooser)) == GTK_RESPONSE_ACCEPT)