Project

General

Profile

Actions

Bug #788

closed
ZS

WTableView::setColumnHidden():headers_

Bug #788: WTableView::setColumnHidden():headers_

Added by Zhimin Song over 15 years ago. Updated about 15 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

KD Updated by Koen Deforche over 15 years ago Actions #1

  • Status changed from New to Resolved

Hey Zhimin,

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

    WWidget *hc = headerWidget(column);

Regards,
koen

ZS Updated by Zhimin Song over 15 years ago Actions #2

Hey Koen,
:-)
I did not read the codes carefully:-)
Regards
zhimin

KD Updated by Koen Deforche about 15 years ago Actions #3

  • Target version set to 3.1.10

KD Updated by Koen Deforche about 15 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom