Make sure that we clear any previously selected files when (re)opening the import file selector in the shapefile GUI.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9583 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Mark Cave-Ayland 2012-03-30 14:17:42 +00:00
parent 93993c7e76
commit 052dc11269

View 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)