Ticket #591: mc_fix_pgupdown.diff

File mc_fix_pgupdown.diff, 1.3 KB (added by mfgalizi@…, 20 years ago)

Uses MovePage from UIListBtnType instead of UIListTreeType

  • mythcontrols/mythcontrols/mythcontrols.cpp

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
     
    287287        else if (action == "PAGEUP")
    288288        {
    289289            if (focused == ContextList)
    290                 ContextList->MoveUp(UIListTreeType::MovePage);
     290                ContextList->MoveUp(UIListBtnType::MovePage);
    291291            else if (focused == ActionList)
    292                 ActionList->MoveUp(UIListTreeType::MovePage);
     292                ActionList->MoveUp(UIListBtnType::MovePage);
    293293        }
    294294        else if (action == "PAGEDOWN")
    295295        {
    296296            if (focused == ContextList)
    297                 ContextList->MoveDown(UIListTreeType::MovePage);
     297                ContextList->MoveDown(UIListBtnType::MovePage);
    298298            else if (focused == ActionList)
    299                 ActionList->MoveDown(UIListTreeType::MovePage);
     299                ActionList->MoveDown(UIListBtnType::MovePage);
    300300        }
    301301        else handled = false;
    302302    }