Get the inspector button displaying properly.

This commit is contained in:
Bill Currie 2010-09-27 21:59:25 +09:00
parent bb3ea99806
commit 1aae3c8174
2 changed files with 1 additions and 3 deletions

View file

@ -99,7 +99,6 @@ id inspcontrol_i;
{
id newView;
NSRect r;
id cell;
NSRect f;
if (which == currentInspectorType)
@ -108,8 +107,7 @@ id inspcontrol_i;
currentInspectorType = which;
newView =[contentList objectAtIndex:which];
cell =[itemList objectAtIndex:which];// set PopUpButton title
[popUpButton_i setTitle:[cell title]];
[popUpButton_i selectItemAtIndex:which];
[inspectorView_i replaceSubview: inspectorSubview_i with:newView];
r =[inspectorView_i frame];