From 36e2024a9213fa74a7d185796d18053d2332e423 Mon Sep 17 00:00:00 2001 From: Date: Wed, 30 Apr 2008 16:18:21 +0000 Subject: [PATCH] update 2511 --- src/gui/RuleSetView.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gui/RuleSetView.cpp b/src/gui/RuleSetView.cpp index 25b9329cc..05cd325a9 100644 --- a/src/gui/RuleSetView.cpp +++ b/src/gui/RuleSetView.cpp @@ -861,7 +861,6 @@ void RuleSetView::init() for (int col=0; colsetColumnWidth(col,colW[col]); if (col==0) { horizontalHeader()->setResizeMode (0, QHeaderView::Fixed); @@ -869,6 +868,7 @@ void RuleSetView::init() colW[0]=20; continue ; } + setColumnWidth(col,colW[col]); horizontalHeader()->resizeSection(col, colW[col]); } @@ -917,6 +917,10 @@ void RuleSetView::refreshGroups () void RuleSetView::updateGroups () { + // for (int col=1; colsectionSize(col))); + QString e("|- columCount:%1"); + e = e.arg(QString().setNum(columnWidths.size())); + qDebug (a.toAscii().data()); qDebug (b.toAscii().data()); qDebug (c.toAscii().data()); qDebug (d.toAscii().data()); + qDebug (e.toAscii().data()); } int re_size;