mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Corrected a crash when ctrl-clicking on an empty section in the object view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19140 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5ffb1d5e65
commit
5fa41f5b0c
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-04-17 12:52 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormObjectEditor.m: [GormObjectEditor mouseDown:] check
|
||||
that "name" is not nil before proceeding into the code to
|
||||
do the drag & drop. This was causing an exception.
|
||||
|
||||
2004-04-17 10:58 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/3Containers/GormNSOutlineView.m: Changed some of
|
||||
|
|
|
@ -365,7 +365,7 @@ static NSMapTable *docMap = 0;
|
|||
[self makeSelectionVisible: YES];
|
||||
}
|
||||
name = [document nameForObject: obj];
|
||||
if ([name isEqualToString: @"NSFirst"] == NO)
|
||||
if ([name isEqualToString: @"NSFirst"] == NO && name != nil)
|
||||
{
|
||||
NSPasteboard *pb;
|
||||
|
||||
|
|
Loading…
Reference in a new issue