mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
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:
parent
0066b2f214
commit
2b3a549b4f
2 changed files with 15 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -101,6 +101,8 @@
|
|||
[bottom setTag: GSWindowMinYMargin];
|
||||
[left setTag: GSWindowMinXMargin];
|
||||
[right setTag: GSWindowMaxXMargin];
|
||||
|
||||
// reset information in forms...
|
||||
}
|
||||
|
||||
|
||||
|
@ -155,7 +157,7 @@
|
|||
}
|
||||
|
||||
/* Sync from object ( NSWindow ) changes to the inspector */
|
||||
- (void) revert:(id)sender
|
||||
- (void) revert: (id)sender
|
||||
{
|
||||
NSRect frame;
|
||||
NSSize size;
|
||||
|
@ -163,6 +165,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];
|
||||
|
||||
|
@ -205,7 +213,7 @@
|
|||
|
||||
- (void) windowChangeNotification: (NSNotification*)aNotification
|
||||
{
|
||||
[self ok: [aNotification object]];
|
||||
[self revert: nil];
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue