Call revert to show changes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21695 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-09-04 14:15:41 +00:00
parent 7057978020
commit 74e8726643
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-09-04 10:17 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/4Data/GormNSComboBoxAttributesInspector.m: In ok:
performs a revert to show any changes which were made
automatically as a result of other changes.
2005-09-04 10:00 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormWindowAttributesInspector.m

View file

@ -126,13 +126,16 @@
}
}
[super ok:sender];
// some changes might affect other settings...
[self revert: sender];
// call the superclass.
[super ok: sender];
}
/* Sync from object ( NSComboBox ) changes to the inspector */
-(void) revert:(id) sender
{
if ( object == nil )
return;