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;
|
id newView;
|
||||||
NSRect r;
|
NSRect r;
|
||||||
id cell;
|
|
||||||
NSRect f;
|
NSRect f;
|
||||||
|
|
||||||
if (which == currentInspectorType)
|
if (which == currentInspectorType)
|
||||||
|
@ -108,8 +107,7 @@ id inspcontrol_i;
|
||||||
currentInspectorType = which;
|
currentInspectorType = which;
|
||||||
newView =[contentList objectAtIndex:which];
|
newView =[contentList objectAtIndex:which];
|
||||||
|
|
||||||
cell =[itemList objectAtIndex:which];// set PopUpButton title
|
[popUpButton_i selectItemAtIndex:which];
|
||||||
[popUpButton_i setTitle:[cell title]];
|
|
||||||
|
|
||||||
[inspectorView_i replaceSubview: inspectorSubview_i with:newView];
|
[inspectorView_i replaceSubview: inspectorSubview_i with:newView];
|
||||||
r =[inspectorView_i frame];
|
r =[inspectorView_i frame];
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue