Adding comment to help prevent recurrences of bug #313498

git-svn-id: svn://10.0.0.236/trunk@8072 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jfrancis%netscape.com
1998-08-15 10:11:17 +00:00
parent 4c68be3695
commit 6d2b55c44a

View File

@@ -402,6 +402,11 @@ void CBrowserWindow::FindCommandStatus(
case cmd_LoadImages:
case cmd_Reload:
{
// Need to be very careful what gets delegated here, in order to aviod infinite
// recursion a la bug #313498. Handling the command status in CBrowserView is not
// sufficient - it also needs to be handled in CHTMLView, which is the class that
// will receive this if it's a Composer window instead of a Browser window.
// Delegate this to the view.
GetHTMLView()->FindCommandStatus(inCommand, outEnabled, outUsesMark, outMark, outName);
break;