Added revert to setObject:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21313 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-06-16 23:42:34 +00:00
parent ecb1e77bfa
commit 9ce0b44f38
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-06-16 19:49 Gregory John Casamento <greg_casamento@yahoo.com>
* GormLib/IBInspector.m: Added "revert" call in setObject:
2005-06-14 20:39 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormDocument.m: Fix in [GormDocument translate] to

View file

@ -102,6 +102,7 @@ static NSNotificationCenter *nc = nil;
- (void) setObject: (id)anObject
{
ASSIGN(object, anObject);
[self revert: self];
}
- (void) textDidBeginEditing: (NSNotification*)aNotification