Correction in setCurrentInspector:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21745 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-09-25 18:41:17 +00:00
parent ca69dba62e
commit b4b6c39964
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2005-09-25 14:40 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormInspectorsManager.m: Additional correct in
setCurrentInspector:
2005-09-25 12:54 Gregory John Casamento <greg_casamento@yahoo.com>
* English.lproj/GormInspectorPanel.gorm: Set resize options correctly.

View file

@ -160,9 +160,6 @@
[cache setObject: inspector forKey: @"GormMultipleInspector"];
DESTROY(inspector);
// get the original framesize.
// origFrame = [inspectorView frame];
[self setCurrentInspector: 0];
[nc addObserver: self
@ -428,8 +425,9 @@
NSButton *revert;
rect.size.height = [selectionView frame].origin.y;
buttonsRect = rect;
buttonsRect.size.height = IVB;
buttonsRect = NSMakeRect(0,0,IVW,IVB);
// buttonsRect.size.height = IVB;
// buttonsRect.size.width = IVW;
rect.origin.y += IVB;
rect.size.height -= (IVB + 3);