glom r1143 - in trunk: . glom/mode_data glom/utility_widgets/db_adddel



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

Modified:
   trunk/ChangeLog
   trunk/glom/mode_data/box_data_list.cc
   trunk/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]