Fixed NSBrowser to not crash upon visualization.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10853 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Michael Silva 2001-09-08 21:42:03 +00:00
parent 4827e85a75
commit 6036c8b9ba

View file

@ -508,6 +508,12 @@ static double rint(double a)
{
NSBrowserColumn *bc;
// No column selected.
if (column == -1)
{
return nil;
}
bc = [_browserColumns objectAtIndex: column];
if (![bc isLoaded])