mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
4827e85a75
commit
6036c8b9ba
1 changed files with 6 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue