mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
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:
parent
2b3a549b4f
commit
e3b123eb05
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2006-01-16 16:25 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Palettes/1Windows/GormWindowSizeInspector.m: Correction for
|
* Palettes/1Windows/GormWindowSizeInspector.m: Correction for
|
||||||
|
|
|
@ -155,6 +155,9 @@ NSImage *mVLine = nil;
|
||||||
if (anObject != object)
|
if (anObject != object)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// stop editing so that the new values can be populated.
|
||||||
|
[sizeForm abortEditing];
|
||||||
|
|
||||||
frame = [anObject frame];
|
frame = [anObject frame];
|
||||||
[[sizeForm cellAtIndex: 0] setFloatValue: NSMinX(frame)];
|
[[sizeForm cellAtIndex: 0] setFloatValue: NSMinX(frame)];
|
||||||
[[sizeForm cellAtIndex: 1] setFloatValue: NSMinY(frame)];
|
[[sizeForm cellAtIndex: 1] setFloatValue: NSMinY(frame)];
|
||||||
|
|
Loading…
Reference in a new issue