[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Can't delete repeatedly from list end in CensusView [Was: switch c
From: |
Greg Chicares |
Subject: |
[lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl] |
Date: |
Wed, 03 Aug 2011 23:56:53 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 2011-08-03 23:42Z, Greg Chicares wrote:
> On 2011-08-03 19:21Z, Greg Chicares wrote:
[...]
> This made it easier to stumble across a hitherto-unnoticed defect that
> I'll describe in a follow-up message.
To reproduce [some commands are deliberately duplicated]:
File | New | Census
Census | Add cell
Census | Add cell
Census | Delete cell(s) | Yes
Census | Delete cell(s) | Yes
That causes:
Assertion 'expurgated_cell_parms.size() == n_items - n_sel_items' failed.
[file /lmi/src/lmi/census_view.cpp, line 931]
AFAICT, repeated deletions from the top or the middle succeed, and this
defect appears only for repeated deletions from the end.
If I always select the bottom row before deleting it, then everything seems
to work okay. Otherwise, after the first deletion, no row has the selection
highlight, but there's apparently an attempt to delete something, because
the confirmation dialog says:
Confirm deletion
Irrevocably delete 1 of 2 cells?
Yes No
- Re: [lmi] switch census view to use wxDataViewCtrl, (continued)
Re: [lmi] switch census view to use wxDataViewCtrl, Václav Slavík, 2011/08/02
Re: [lmi] switch census view to use wxDataViewCtrl, Václav Slavík, 2011/08/02
- Re: [lmi] switch census view to use wxDataViewCtrl, Greg Chicares, 2011/08/03
- Re: [lmi] switch census view to use wxDataViewCtrl, Greg Chicares, 2011/08/03
- [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl],
Greg Chicares <=
- Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Greg Chicares, 2011/08/07
- Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Greg Chicares, 2011/08/08
- Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Vaclav Slavik, 2011/08/09
- Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Greg Chicares, 2011/08/11
- Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Wendy Boutin, 2011/08/17
Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Václav Slavík, 2011/08/08
Re: [lmi] Can't delete repeatedly from list end in CensusView [Was: switch census view to use wxDataViewCtrl], Greg Chicares, 2011/08/08