From: ouv Date: Tue, 25 Mar 2008 11:50:28 +0000 (+0000) Subject: Bug IPAL19350 : Qt4 porting: Cut Lines: incorrect table generation X-Git-Tag: V5_0_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a0d066bc0de460f21d20d67d2f96797c5f65962;p=modules%2Fvisu.git Bug IPAL19350 : Qt4 porting: Cut Lines: incorrect table generation --- 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] );