mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:51:02 +00:00
* Source/NSBrowser.m (-[NSBrowser setDelegate]:): Check for
nil object to allow unsetting the delegate. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17764 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7524f54ae
commit
337e3d3e81
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-10-02 Andrew Ruder <aereder@ksu.edu>
|
||||
|
||||
* Source/NSBrowser.m (-[NSBrowser setDelegate]:): Check for nil
|
||||
object to allow unsetting the delegate.
|
||||
|
||||
2003-09-29 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version 0.9.0
|
||||
|
|
|
@ -1765,7 +1765,7 @@ static NSTextFieldCell *titleCell;
|
|||
flag = YES;
|
||||
}
|
||||
|
||||
if (!flag)
|
||||
if (!flag && anObject)
|
||||
[NSException raise: NSBrowserIllegalDelegateException
|
||||
format: @"Delegate does not respond to %s or %s\n",
|
||||
"browser: numberOfRowsInColumn: ",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue