Anonymous | Login | 04-16-2021 13:55 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||||
0001943 | [tweak] Any | minor | always | 10-11-05 15:33 | 12-11-05 06:06 | ||||||||
Reporter | jens | View Status | public | ||||||||||
Assigned To | andreas | ||||||||||||
Priority | normal | Resolution | fixed | ||||||||||
Status | resolved | ||||||||||||
Summary | 0001943: container can be nil in CTreeItemCostume>>selectedColor | ||||||||||||
Description |
CTreeItemCostume>>selectedColor "Answer the selectedColor of the receiver" <bewareOf: #selectedColorChanged> ^self propertyValueAt: #selectedColor ifAbsent:[container selectionColor] containter can be nil, so you should check for it: ^self propertyValueAt: #selectedColor ifAbsent:[ container ifNotNil: [ container selectionColor] ifNil: [Color blue "or some default color" ]] |
||||||||||||
Additional Information | |||||||||||||
Attached Files | |||||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
35 total queries executed. 30 unique queries executed. |