Closed Bug 301870 Opened 19 years ago Closed 19 years ago

commands not updated when an item is de-selected in richlistbox

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: robert.strong.bugs, Assigned: doronr)

References

Details

(Keywords: regression)

Attachments

(1 file)

The Extension Manager which uses a richlistbox used to have its commands updated
when a selected item is deselected so there are no items selected. This is a
recent regression... possibly bug 299947?
To reproduce
Open the Extension Manager.
Select an item.
Deselect the item (e.g. ctrl+click the item or click a blank area in the
richlisbox).
Notice that the uninstall is still enabled.
yup, my bad.  _fireOnSelect() is only called if selectedItem it set to
something.  clearSelection() should call as well.
Status: NEW → ASSIGNED
Flags: blocking-aviary1.5?
Attached patch patchSplinter Review
untested, build still going, but that should do it.
Thanks doron - this patch works for me.
Attachment #190286 - Flags: first-review?(mconnor)
Flags: blocking-aviary1.5? → blocking1.8b4+
*** Bug 302165 has been marked as a duplicate of this bug. ***
Attachment #190286 - Flags: first-review?(mconnor)
Attachment #190286 - Flags: first-review+
Attachment #190286 - Flags: approval1.8b4+
fixed!
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: