Correction for bug#13994.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22318 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-01-16 21:27:08 +00:00
parent 0066b2f214
commit 2b3a549b4f
2 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-01-16 16:25 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormWindowSizeInspector.m: Correction for
bug#13994. abortEditing call to all forms added to revert:.
2006-01-16 12:20 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormWindowAttributesInspector.m: Correction

View file

@ -101,6 +101,8 @@
[bottom setTag: GSWindowMinYMargin];
[left setTag: GSWindowMinXMargin];
[right setTag: GSWindowMaxXMargin];
// reset information in forms...
}
@ -164,6 +166,12 @@
if ( object == nil )
return;
// Abort editing of the fields, so that the new values can be
// populated.
[sizeForm abortEditing];
[minForm abortEditing];
[maxForm abortEditing];
mask = [object autoPositionMask];
frame = [object frame];
@ -205,7 +213,7 @@
- (void) windowChangeNotification: (NSNotification*)aNotification
{
[self ok: [aNotification object]];
[self revert: nil];
}