mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Clear the current_folder_path if loading yields an error
Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19852
This commit is contained in:
parent
7efced5687
commit
c406ebcc44
@ -1283,6 +1283,9 @@ load_directory_get_folder_callback (GtkFileSystemHandle *handle,
|
||||
pop_up_completion_feedback (chooser_entry, msg);
|
||||
g_free (msg);
|
||||
}
|
||||
|
||||
gtk_file_path_free (chooser_entry->current_folder_path);
|
||||
chooser_entry->current_folder_path = NULL;
|
||||
}
|
||||
|
||||
if (cancelled || error)
|
||||
|
Loading…
Reference in New Issue
Block a user