Skip to content

Commit

Permalink
Fix for bug 158373: [REG] AOD is showing up on the end user's component
Browse files Browse the repository at this point in the history
list (r=smeredith)
  • Loading branch information
shrutiv%netscape.com committed Jul 24, 2002
1 parent 5fe829a commit 09decba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cck/ib/ib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1839,10 +1839,15 @@ void invisible()
if ( (strAttributes.Find("SELECTED")) != -1 )
strAttributes.Replace("SELECTED", "UNSELECTED");
}

WritePrivateProfileString(Components[i].compname, "Attributes",

if (strcmp(strAttributes, "SELECTED") == 0)
// Include INVISIBLE attribute for AOD component
WritePrivateProfileString(Components[i].compname, "Attributes",
"SELECTED|INVISIBLE", iniDstPath);
else
WritePrivateProfileString(Components[i].compname, "Attributes",
strAttributes, iniDstPath);
componentOrder++;
componentOrder++;
}
else
WritePrivateProfileString(Components[i].compname, "Attributes",
Expand Down

0 comments on commit 09decba

Please sign in to comment.