mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 14:10:44 +00:00
Don't allow all items to be removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15367 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1fcf721bc4
commit
5dd4796de5
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@
|
|||
|
||||
[self makeSelectionVisible: NO];
|
||||
[self selectObjects: [NSArray array]];
|
||||
while ((i = [e nextObject]) != nil)
|
||||
while ((i = [e nextObject]) != nil && [edited numberOfItems] > 1)
|
||||
{
|
||||
[edited removeItem: i];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue