From 5a0d066bc0de460f21d20d67d2f96797c5f65962 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 25 Mar 2008 11:50:28 +0000 Subject: [PATCH] Bug IPAL19350 : Qt4 porting: Cut Lines: incorrect table generation --- src/GUITOOLS/VisuGUI_TableDlg.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GUITOOLS/VisuGUI_TableDlg.cxx b/src/GUITOOLS/VisuGUI_TableDlg.cxx index 802644bd..45d88342 100644 --- a/src/GUITOOLS/VisuGUI_TableDlg.cxx +++ b/src/GUITOOLS/VisuGUI_TableDlg.cxx @@ -722,6 +722,10 @@ void VisuGUI_TableWidget::getRowTitles( QStringList& tlts ) void VisuGUI_TableWidget::setColTitles( QStringList& tlts ) { QStringList aLabels; + + // !!! first column contains units !!! + aLabels.append(""); // it'll be initialized below - in setUnitsTitle() method + for ( int i = 0; i < tlts.count(); i++ ) tlts[i].isNull() ? aLabels.append("") : aLabels.append( tlts[i] ); -- 2.39.2