diff --git a/mythtv/programs/mythfrontend/viewscheduled.cpp b/mythtv/programs/mythfrontend/viewscheduled.cpp
index 5fa0261..640d565 100644
a
|
b
|
void ViewScheduled::LoadList(bool useExistingData) |
238 | 238 | |
239 | 239 | QString callsign; |
240 | 240 | QDateTime startts, recstartts; |
| 241 | QDate group = m_currentGroup; |
241 | 242 | |
242 | 243 | if (currentItem) |
243 | 244 | { |
… |
… |
void ViewScheduled::LoadList(bool useExistingData) |
322 | 323 | qVariantFromValue(dateit.key())); |
323 | 324 | ++dateit; |
324 | 325 | } |
325 | | if (!m_recgroupList.contains(m_currentGroup)) |
326 | | m_groupList->SetValueByData(qVariantFromValue(m_currentGroup)); |
| 326 | |
| 327 | // Restore group |
| 328 | if (m_recgroupList.contains(group)) |
| 329 | m_currentGroup = group; |
| 330 | else |
| 331 | m_currentGroup = m_defaultGroup; |
| 332 | |
| 333 | m_groupList->SetValueByData(qVariantFromValue(m_currentGroup)); |
327 | 334 | } |
328 | 335 | |
329 | 336 | FillList(); |
… |
… |
void ViewScheduled::LoadList(bool useExistingData) |
333 | 340 | { |
334 | 341 | ProgramList plist; |
335 | 342 | |
336 | | if (!m_recgroupList.contains(m_currentGroup)) |
337 | | m_currentGroup = m_defaultGroup; |
338 | | |
339 | 343 | plist = m_recgroupList[m_currentGroup]; |
340 | 344 | |
341 | 345 | int listPos = ((int) plist.size()) - 1; |