|
|
|
|
@ -163,7 +163,7 @@ CsvTransImpSettings::load (void)
|
|
|
|
|
auto group = get_prefix() + m_settings_type + " - " + m_name;
|
|
|
|
|
|
|
|
|
|
// Start Loading the settings
|
|
|
|
|
m_load_error = load_common(); // load the common settings
|
|
|
|
|
m_load_error = CsvImportSettings::load(); // load the common settings
|
|
|
|
|
|
|
|
|
|
m_multi_split = g_key_file_get_boolean (keyfile, group.c_str(), CSV_MULTI_SPLIT, &key_error);
|
|
|
|
|
m_load_error |= handle_load_error (&key_error, group);
|
|
|
|
|
@ -231,7 +231,7 @@ CsvTransImpSettings::save (void)
|
|
|
|
|
g_key_file_remove_group (keyfile, group.c_str(), nullptr);
|
|
|
|
|
|
|
|
|
|
// Start Saving the settings
|
|
|
|
|
bool error = save_common(); // save the common settings
|
|
|
|
|
bool error = CsvImportSettings::save(); // save the common settings
|
|
|
|
|
|
|
|
|
|
if (error)
|
|
|
|
|
return error;
|
|
|
|
|
@ -258,5 +258,5 @@ CsvTransImpSettings::remove (void)
|
|
|
|
|
if (preset_is_reserved_name (m_name))
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
remove_common();
|
|
|
|
|
CsvImportSettings::remove();
|
|
|
|
|
}
|
|
|
|
|
|