fix Ctrl-Tab handling in the Floating window style (floating has a XYZ window, so Ctrl-Tab SHOULD switch views)

git-svn-id: svn://svn.icculus.org/netradiant/trunk@404 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2009-12-30 10:26:41 +00:00
parent 71562074b6
commit 0037763448

View File

@ -2587,7 +2587,7 @@ void XY_Split_Focus()
void XY_Focus()
{
if (g_pParentWnd->CurrentStyle() == MainFrame::eSplit || g_pParentWnd->CurrentStyle() == MainFrame::eFloating)
if (g_pParentWnd->CurrentStyle() == MainFrame::eSplit)
{
// cannot do this in a split window
// do something else that the user may want here