Project

General

Profile

Actions

Bug #4233

closed
MD BD

clear current selection for WComboBox objects based on WSortFilterProxyModel

Bug #4233: clear current selection for WComboBox objects based on WSortFilterProxyModel

Added by Mario Diethelm about 11 years ago. Updated almost 11 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

KD Updated by Koen Deforche about 11 years ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache

BD Updated by Benoit Daccache about 11 years ago Actions #2

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

BD Updated by Benoit Daccache about 11 years ago Actions #3

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche almost 11 years ago Actions #4

  • Status changed from Resolved to Closed

KD Updated by Koen Deforche almost 11 years ago Actions #5

  • Target version changed from 3.3.4 to 3.3.5
Actions

Also available in: PDF Atom