[Fedora-directory-devel] Please review: Bug 198090 - ACI editor table sort problem

Rich Megginson rmeggins at redhat.com
Tue Dec 16 19:19:55 UTC 2008


https://bugzilla.redhat.com/show_bug.cgi?id=198090
Resolves: bug 198090
Bug Description: ACI editor table sort problem
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The main problem was that the Table Model code was not 
checking the type of the model change event, and was just 
unconditionally resetting/initializing the internal indexes array every 
time the checkbox was checked.  This caused the table to revert back to 
the original order every time a checkbox was checked on or off.  The 
only events which should cause the indexes to be reset/initialized are 
the INSERT and DELETE types, not the UPDATE type.  There were also some 
problems with setting up the initial model, and I cleaned up some bogus 
code.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/attachment.cgi?id=327150&action=diff




More information about the Fedora-directory-devel mailing list