mirror of https://github.com/GNOME/gimp.git
app: fix opening multiple files in file_open_dialog_response()
Don't loop infinitely around the list's second file.
This commit is contained in:
parent
e618a2866c
commit
dc347c3039
|
@ -135,7 +135,7 @@ file_open_dialog_response (GtkWidget *open_dialog,
|
|||
if (! dialog->open_as_layers)
|
||||
gtk_window_set_transient_for (GTK_WINDOW (open_dialog), NULL);
|
||||
|
||||
for (list = files; list; list = g_slist_next (files))
|
||||
for (list = files; list; list = g_slist_next (list))
|
||||
{
|
||||
GFile *file = list->data;
|
||||
gchar *path = g_file_get_path (file);
|
||||
|
|
Loading…
Reference in New Issue