Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 15734 | Differences between
and this patch

Collapse All | Expand All

(-)PropertySheetEntry.java (-2 / +2 lines)
Lines 721-728 Link Here
721
        if (values.length == 0)
721
        if (values.length == 0)
722
            editValue = null;
722
            editValue = null;
723
        else {
723
        else {
724
            // set the first value object as the entry's value
724
            // set the last value object as the entry's value (see bug 15734)
725
            Object newValue = values[0];
725
            Object newValue = values[values.length-1];
726
726
727
            // see if we should convert the value to an editable value
727
            // see if we should convert the value to an editable value
728
            IPropertySource source = getPropertySource(newValue);
728
            IPropertySource source = getPropertySource(newValue);

Return to bug 15734