Project

General

Profile

Bug #1668

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

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

Updated by Koen Deforche over 7 years ago

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

Updated by Koen Deforche over 7 years ago

  • Assignee set to Koen Deforche
#3

Updated by Koen Deforche over 7 years ago

  • Status changed from InProgress to Resolved
#4

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF