Add a populated parameter to ag_db_chart_save_new()

If the caller intends to fill the whole struct, this should be set to TRUE
This commit is contained in:
2014-09-27 23:04:17 +02:00
parent 6656f52959
commit 2177ac2c41
4 changed files with 16 additions and 6 deletions

View File

@@ -736,7 +736,7 @@ ag_window_recalculate_chart(AgWindow *window, gboolean set_everything)
gtk_spin_button_update(GTK_SPIN_BUTTON(current));
}
edit_data = ag_db_chart_save_new();
edit_data = ag_db_chart_save_new(TRUE);
edit_data->db_id = db_id;