Project

General

Profile

Actions

Bug #1668

closed

WStandardItem's CheckStateRole is not of a CheckState type when initially set 'Unchecked'

Added by Стойчо Стефанов Stoycho Stefanov about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/01/2013
Due date:
% Done:

0%

Estimated time:

Description

Hey,

when an item's CheckStateRole is initially set 'Unchecked' using WStandardItem::setCheckState:

item->setCheckState(Wt::Unchecked);

the data is not of a CheckState type:

(item->data(CheckStateRole).type() == typeid(CheckState)) 

returns false.

In Wt-3.2.1 and Wt-3.2.3.

Regards,

Stoycho


Files

CheckStateType.C (1.73 KB) CheckStateType.C example Стойчо Стефанов Stoycho Stefanov, 02/01/2013 09:10 AM
Actions #1

Updated by Koen Deforche about 11 years ago

  • Status changed from New to InProgress
  • Target version set to 3.3.0
Actions #2

Updated by Koen Deforche about 11 years ago

  • Assignee set to Koen Deforche
Actions #3

Updated by Koen Deforche about 11 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF