Minor fix in view size inspector.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22320 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-01-17 04:21:00 +00:00
parent 2b3a549b4f
commit e3b123eb05
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-01-16 23:19 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormViewSizeInspector.m: Correction for a similar problem
in the view size inspector. Added to call to abort editing.
2006-01-16 16:25 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormWindowSizeInspector.m: Correction for

View file

@ -155,6 +155,9 @@ NSImage *mVLine = nil;
if (anObject != object)
return;
// stop editing so that the new values can be populated.
[sizeForm abortEditing];
frame = [anObject frame];
[[sizeForm cellAtIndex: 0] setFloatValue: NSMinX(frame)];
[[sizeForm cellAtIndex: 1] setFloatValue: NSMinY(frame)];