after importing, save it to the preset file instead of just holding it
in memory
git-svn-id: svn://localhost/HandBrake/trunk@3133
b64f7644-9d1e-0410-96f1-
a4d463321fa5
return;
}
array = ghb_plist_parse_file(filename);
- g_free(filename);
import_xlat_presets(array);
presets_clear_default(array);
ghb_settings_set_string(ud->settings, "ExportDirectory", dir);
ghb_pref_save(ud->settings, "ExportDirectory");
}
+ g_free(filename);
g_free(exportDir);
g_free(dir);
+ store_presets();
}
gtk_widget_destroy(dialog);
}