Salome HOME
correction for bug:
authorasl <asl@opencascade.com>
Fri, 22 Jul 2005 03:04:14 +0000 (03:04 +0000)
committerasl <asl@opencascade.com>
Fri, 22 Jul 2005 03:04:14 +0000 (03:04 +0000)
first element is always empty for QtxListResourceEdit::FontItem::<family combobox>

src/Qtx/QtxListResourceEdit.cxx

index 2b8435733b41a66ef0f52214f202fc401c971d71..138a775420765327f1fd9c36e26a576755195419 100644 (file)
@@ -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 );