glom r1145 - in branches/glom-1-6: . glom/mode_data glom/utility_widgets/db_adddel



Author: murrayc
Date: 2007-09-15 15:14:08 +0100 (Sat, 15 Sep 2007)
New Revision: 1145
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1145&view=rev

Modified:
   branches/glom-1-6/ChangeLog
   branches/glom-1-6/glom/mode_data/box_data_list.cc
   branches/glom-1-6/glom/utility_widgets/db_adddel/db_adddel.cc
Log:
2007-09-15  Murray Cumming  <murrayc murrayc com>

* glom/mode_data/box_data_list.cc: create_layout(): Do not try to 
add the previously-used primary key if there is no primary key in the 
table (for instance, if there are no fields in the table). This avoids 
an internal postgres warning about a non-existant field.
* glom/utility_widgets/db_adddel/db_adddel.cc: Clear the model if there 
are no fields. This prevents a crash at startup if a table has no fields.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]