From e3b123eb0522b27dc4b18ddde3806dd91265ce98 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Tue, 17 Jan 2006 04:21:00 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ GormCore/GormViewSizeInspector.m | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5cf3e358..f022864d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-16 23:19 Gregory John Casamento + + * 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 * Palettes/1Windows/GormWindowSizeInspector.m: Correction for diff --git a/GormCore/GormViewSizeInspector.m b/GormCore/GormViewSizeInspector.m index 7f4c8b69..3478e45e 100644 --- a/GormCore/GormViewSizeInspector.m +++ b/GormCore/GormViewSizeInspector.m @@ -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)];