This fixes another result of the bug1415-fix (the lengthcombo in qt has an 
empty item at the end of its list).

I'll commit this.

Jürgen
Index: lengthcombo.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/lengthcombo.C,v
retrieving revision 1.19
diff -u -r1.19 lengthcombo.C
--- lengthcombo.C	20 May 2004 09:36:28 -0000	1.19
+++ lengthcombo.C	11 Nov 2004 10:55:29 -0000
@@ -19,7 +19,7 @@
 LengthCombo::LengthCombo(QWidget * parent, char * name)
 	: QComboBox(parent, name)
 {
-	for (int i=0; i < num_units; i++)
+	for (int i = 0; i < num_units - 1; i++)
 		insertItem(unit_name_gui[i]);
 
 	connect(this, SIGNAL(activated(int)),

Reply via email to