Ticket #12517: 0001-Fixes-selecting-current-channellist-item-in-Guide.patch

File 0001-Fixes-selecting-current-channellist-item-in-Guide.patch, 1.4 KB (added by angela.schmid@…, 6 years ago)
  • mythtv/programs/mythfrontend/guidegrid.cpp

    From 2b1a9f2fa776b90d077b9e7e48057e053f51db6e Mon Sep 17 00:00:00 2001
    From: angelaschmid <angela.schmid@wolke7.net>
    Date: Fri, 2 Oct 2015 18:10:46 +0200
    Subject: [PATCH] Fixes selecting current channellist item in Guide
    
    When moving with the cursor through the Guide the channel in the channellist was not selected.
    Therefor the selected channel in the channellist was not visually changed.
    
    Needed for Arclight 27.06 with wide Guide layout.
    ---
     mythtv/programs/mythfrontend/guidegrid.cpp | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/mythtv/programs/mythfrontend/guidegrid.cpp b/mythtv/programs/mythfrontend/guidegrid.cpp
    index c5826a8..0af6161 100755
    a b void GuideGrid::fillProgramRowInfos(int firstRow, bool useExistingData) 
    14091409            m_guideGrid->ResetRow(i);
    14101410        }
    14111411    }
     1412
     1413    m_channelList->SetItemCurrent(m_currentRow);
     1414
    14121415    GuideStatus gs(firstRow, chanNums.size(), chanNums, m_channelInfos.size(),
    14131416                   m_guideGrid->GetArea(), m_guideGrid->getChannelCount(),
    14141417                   m_currentStartTime, m_currentEndTime, m_currentStartChannel,
    void GuideGrid::updateChannelsUI(const QVector<ChannelInfo *> &chinfos, 
    19651968            }
    19661969        }
    19671970    }
     1971    m_channelList->SetItemCurrent(m_currentRow);
    19681972}
    19691973
    19701974void GuideGrid::updateInfo(void)