Thanks - applied with tiny modification

> Hi,
> 
> In NSBrowser: -_getTitleOfColumn we have:
> 
> ...
>       if ([c isLeaf])
>       {
>         return @"";
>       }
>       else
>       { 
>         return [c stringValue];
>       }
> 
> and it should be:
> 
>       if ([c isLeaf] || [c stringValue] == nil)
>       {
>         return @"";
>       }
>       else
>       { 
>         return [c stringValue];
>       }
> 
> otherwise, we will have an assertion failed (since we'll call
> NSCell: -setStringValue: nil) when NSBrowser objects have more than one
> empty column.
> 
> It fixes the crash we have in NSOpenPanel and NSSavePanel when you
> maximise them and they both have empty columns.
> 
> Ludo
> 
> 


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to