Project

General

Profile

Actions

Bug #4233

closed

clear current selection for WComboBox objects based on WSortFilterProxyModel

Added by Mario Diethelm over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
Start date:
06/23/2015
Due date:
% Done:

0%

Estimated time:

Description

With WComboBox objects based on WSortFilterProxyModel as underlying data model a call to setCurrentIdex method clears the current selection, but with a WComboBox objects based on a WSortFilterProxyModel, even after resetting the filter (setFilterRegExp(".*")) the setCurrentIndex(--1) call sets the WComboBox object to the first element (index 0) instead of clear the current selection.


Files

4233.cpp (1.42 KB) 4233.cpp Benoit Daccache, 08/26/2015 10:12 AM
Actions #1

Updated by Koen Deforche over 9 years ago

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache
Actions #2

Updated by Benoit Daccache over 9 years ago

Hey Mario,

Here is the test case I used to try to reproduce it but without luck.

Can you provide a small text case (or modify this one) to reproduce the problem as well as your configuration (Wt version, browser, etc )?

Benoit

Actions #3

Updated by Benoit Daccache over 9 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche about 9 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Koen Deforche about 9 years ago

  • Target version changed from 3.3.4 to 3.3.5
Actions

Also available in: Atom PDF