From: asl Date: Fri, 22 Jul 2005 03:04:14 +0000 (+0000) Subject: correction for bug: X-Git-Tag: V3_0_1~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f65857c7ce9a03d21e7555620000c1269c5550e;p=modules%2Fgui.git correction for bug: first element is always empty for QtxListResourceEdit::FontItem:: --- 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 );