| Summary: | De-select doesn't fire SelectionEvent | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thorsten Schenkel <thorsten.schenkel> | ||||
| Component: | Nebula | Assignee: | Thomas Schindl <tom.schindl> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cgross | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Thanks released to head and show up in next build |
Created attachment 202801 [details] Patch of Grid, deselect fires an event No Event will be fired, if the selection type of the Grid is SWT.SINGLE and an item will be deselected (with CTRL). Because the method Grid.updateSelection returns null and not an event, if the selectionType == SWT.SINGLE and CTRL was pressed. On the other side, if selectionType == SWT.MULTI and CTRL was pressed always an event will be fired, also no selected item is left. I think for a developer it can be helpful if an event is also fired after deselection.