From: mtn Date: Mon, 28 Dec 2009 07:04:31 +0000 (+0000) Subject: Bug fixing X-Git-Tag: V_5_1_3~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7fdbbce3a6d786c473beb146ee7b191d63a7cd28;p=modules%2Fgui.git Bug fixing --- diff --git a/src/Qtx/QtxTable.cxx b/src/Qtx/QtxTable.cxx index c1fe3590d..cc42a9e9c 100644 --- a/src/Qtx/QtxTable.cxx +++ b/src/Qtx/QtxTable.cxx @@ -1182,10 +1182,10 @@ void QtxTable::setHeaderData( const Qt::Orientation o, const int section, const anItem = verticalHeaderItem( section ); if ( anItem ) - anItem->setData( Qt::DisplayRole, var ); + anItem->setData( role, var ); else { anItem = new QTableWidgetItem(); - anItem->setData( Qt::DisplayRole, var ); + anItem->setData( role, var ); if ( o == Qt::Horizontal ) setHorizontalHeaderItem( section, anItem ); else