From: nds Date: Mon, 24 Sep 2007 04:31:02 +0000 (+0000) Subject: Correction for table X-Git-Tag: TG_Saint_Valentine-Day~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8169409c82b99412919aa953f9fd1c5f4dd74a98;p=modules%2Fgui.git Correction for table --- diff --git a/src/Qtx/QtxTable.cxx b/src/Qtx/QtxTable.cxx index 01fec0d9b..ceef59d6d 100644 --- a/src/Qtx/QtxTable.cxx +++ b/src/Qtx/QtxTable.cxx @@ -1181,7 +1181,9 @@ void QtxTable::setHeaderData( const Qt::Orientation o, const int section, const else anItem = verticalHeaderItem( section ); if ( !anItem ) { + QVariant aValue = headerData( o, section ); anItem = new QTableWidgetItem(); + anItem->setData( Qt::DisplayRole, aValue ); if ( o == Qt::Horizontal ) setHorizontalHeaderItem( section, anItem ); else