Commit 3b869716 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

edit metadata: update the file list only when the operation is completed

parent f6612806
......@@ -53,8 +53,10 @@ save_file_data_task_completed_cb (GthTask *task,
GthMonitor *monitor;
GList *scan;
gth_monitor_resume (gth_main_get_default_monitor ());
if (error != NULL) {
_gtk_error_dialog_from_gerror_show (GTK_WINDOW (data->dialog), _("Could not save the file metadata"), &error);
_gtk_error_dialog_from_gerror_show (GTK_WINDOW (data->dialog), _("Could not save the file metadata"), error);
......@@ -90,6 +92,8 @@ edit_metadata_dialog__response_cb (GtkDialog *dialog,
gth_monitor_pause (gth_main_get_default_monitor ());
gth_edit_metadata_dialog_update_info (GTH_EDIT_METADATA_DIALOG (data->dialog), data->file_list);
task = gth_save_file_data_task_new (data->file_list, "*");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment