diff --git a/mp/src/vgui2/vgui_controls/Panel.cpp b/mp/src/vgui2/vgui_controls/Panel.cpp index 7fb2e630..049592bd 100644 --- a/mp/src/vgui2/vgui_controls/Panel.cpp +++ b/mp/src/vgui2/vgui_controls/Panel.cpp @@ -3419,7 +3419,9 @@ bool Panel::RequestFocusNext(VPANEL panel) void Panel::RequestFocus(int direction) { // NOTE: This doesn't make any sense if we don't have keyboard input enabled - Assert( ( IsX360() || IsConsoleStylePanel() ) || IsKeyBoardInputEnabled() ); + // FF --> squeek: Not sure what this assert is for, as presumably we do want panels without keyboard input to be able to request focus (example: scoreboard) + //Assert( ( IsX360() || IsConsoleStylePanel() ) || IsKeyBoardInputEnabled() ); + // FF <-- // ivgui()->DPrintf2("RequestFocus(%s, %s)\n", GetName(), GetClassName()); OnRequestFocus(GetVPanel(), NULL); }