Project

General

Profile

Actions

Bug #788

closed

WTableView::setColumnHidden():headers_

Added by Zhimin Song over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/14/2011
Due date:
% Done:

0%

Estimated time:

Description

hi, wt group:

I found another prolem in the void WTableView::setColumnHidden(int column, bool hidden), that is:

row#834 *WWidget hc = headers_->widget(column);

should be:

row#834 *WWidget hc = headers_widget(column rowHeaderCount());

And by this, we should judge the column which needs to be hidden is the fixed one or not, right?

Regards

Zhimin

Actions #1

Updated by Koen Deforche over 13 years ago

  • Status changed from New to Resolved

Hey Zhimin,

Good catch. In fact, it should be solved by doing:

    WWidget *hc = headerWidget(column);

Regards,

koen

Actions #2

Updated by Zhimin Song over 13 years ago

Hey Koen,

:-)

I did not read the codes carefully:-)

Regards

zhimin

Actions #3

Updated by Koen Deforche over 13 years ago

  • Target version set to 3.1.10
Actions #4

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF