Ticket #6238: mythtv-no_warning_for_menu_actions_handled_by_callbacks.patch

File mythtv-no_warning_for_menu_actions_handled_by_callbacks.patch, 1.1 KB (added by sphery <mtdean@…>, 12 years ago)
  • libs/libmythui/myththemedmenu.cpp

    old new  
    687687    }
    688688    else
    689689    {
    690         VERBOSE(VB_IMPORTANT, "Unknown menu action: " + action);
    691690        m_selection = action;
    692691        if (m_state->m_callback)
    693692            m_state->m_callback(m_state->m_callbackdata, m_selection);
     693        else
     694            VERBOSE(VB_IMPORTANT, "Unknown menu action: " + action);
    694695    }
    695696
    696697    return true;
  • programs/mythfrontend/main.cpp

    old new  
    524524        showStatus();
    525525    else if (sel == "exiting_app")
    526526        handleExit();
     527    else
     528        VERBOSE(VB_IMPORTANT, "Unknown menu action: " + selection);
    527529
    528530    if (sel.left(9) == "settings ")
    529531    {