CVSROOT: /cvs/gnome Module name: glom Changes by: murrayc 06/10/20 13:30:54
Modified files: . : ChangeLog glom/mode_data : box_data_list.cc glom/utility_widgets/db_adddel: db_adddel.cc glom_db_treemodel.cc glom_db_treemodel.h Log message: 2006-10-20 Murray Cumming <[EMAIL PROTECTED]> * glom/mode_data/box_data_list.cc: create_layout(): Do not call m_AddDel.set_columns_ready() because we do that in fill_from_database(), and we do not want to do it twice. * glom/utility_widgets/db_adddel/glom_db_treemodel.cc: * glom/utility_widgets/db_adddel/glom_db_treemodel.h: Constructor: Call refresh_from_database(), and make refresh_from_database() a protected method, so that model creation is the only time that the SQL query is run. * glom/utility_widgets/db_adddel/db_adddel.cc: refresh_from_database(): Just call construct_specified_columns(), to recreate the model, instead of trying to reuse the existing model via refresh_from_database(), because that was having some strange side-effects and seems complex to fix. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2006-10-20%2013:29&maxdate=2006-10-20%2013:31 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list