From 8169409c82b99412919aa953f9fd1c5f4dd74a98 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 24 Sep 2007 04:31:02 +0000 Subject: [PATCH] Correction for table --- src/Qtx/QtxTable.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2