zapit/src/getservices.cpp: clear numbers maps, if resetting numbers

This commit is contained in:
[CST] Focus
2012-03-26 19:51:48 +04:00
parent c7032bba2c
commit dadd5a4fb8

View File

@@ -141,6 +141,10 @@ void CServiceManager::ResetChannelNumbers(bool bouquets, bool numbers)
if(bouquets) if(bouquets)
it->second.has_bouquet = 0; it->second.has_bouquet = 0;
} }
if(numbers) {
tv_numbers.clear();
radio_numbers.clear();
}
} }
void CServiceManager::RemoveChannel(const t_channel_id channel_id) void CServiceManager::RemoveChannel(const t_channel_id channel_id)