mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Get the inspector button displaying properly.
This commit is contained in:
parent
bb3ea99806
commit
1aae3c8174
2 changed files with 1 additions and 3 deletions
|
@ -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];
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue