From 3f65857c7ce9a03d21e7555620000c1269c5550e Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 22 Jul 2005 03:04:14 +0000 Subject: [PATCH] correction for bug: first element is always empty for QtxListResourceEdit::FontItem:: --- src/Qtx/QtxListResourceEdit.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Qtx/QtxListResourceEdit.cxx b/src/Qtx/QtxListResourceEdit.cxx index 2b8435733..138a77542 100644 --- a/src/Qtx/QtxListResourceEdit.cxx +++ b/src/Qtx/QtxListResourceEdit.cxx @@ -929,7 +929,8 @@ QtxListResourceEdit::FontItem::FontItem( const QString& title, QtxResourceEdit* : PrefItem( Font, edit, pItem, parent ) { new QLabel( title, this ); - myFamilies = new QtxComboBox( this ); + myFamilies = new QtxComboBox( true, this ); + myFamilies->lineEdit()->setReadOnly( true ); mySizes = new QtxComboBox( true, this ); mySizes->setInsertionPolicy( QComboBox::NoInsertion ); myBold = new QCheckBox( tr( "Bold" ), this ); -- 2.39.2