Ticket #3921: 3921_diff.patch

File 3921_diff.patch, 452 bytes (added by Joe Ripley <vitaminjoe@…>, 12 years ago)

Disables initial focus for m_active_list if the list contains no items

  • mythplugins/mythweather/mythweather/weatherSetup.cpp

     
    160160    wireUI();
    161161    loadData();
    162162    buildFocusList();
     163
     164    if (!m_active_list->GetCount()) m_active_list->allowFocus(false);
    163165    assignFirstFocus();
    164166}
    165167