Project

General

Profile

Actions

Bug #1668

closed
СS KD

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

Bug #1668: WStandardItem's CheckStateRole is not of a CheckState type when initially set 'Unchecked'

Added by Стойчо Стефанов Stoycho Stefanov over 13 years ago. Updated over 13 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

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

  • Status changed from New to InProgress
  • Target version set to 3.3.0

KD Updated by Koen Deforche over 13 years ago Actions #2

  • Assignee set to Koen Deforche

KD Updated by Koen Deforche over 13 years ago Actions #3

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche over 13 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom