mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
zapit/src/bouquets.cpp: set channel user name also for non-present channels,
else username is lost after any ubouquets.xml save.
(fix for commit 2644b30b6a
)
This commit is contained in:
@@ -452,6 +452,8 @@ void CBouquetManager::parseBouquetsXml(const char *fname, bool bUser)
|
|||||||
CServiceManager::getInstance()->AddChannel(chan);
|
CServiceManager::getInstance()->AddChannel(chan);
|
||||||
chan->flags = CZapitChannel::NOT_FOUND;
|
chan->flags = CZapitChannel::NOT_FOUND;
|
||||||
chan->bLocked = clock;
|
chan->bLocked = clock;
|
||||||
|
if(!(uname.empty()))
|
||||||
|
chan->setUserName(uname);
|
||||||
newBouquet->addService(chan);
|
newBouquet->addService(chan);
|
||||||
CServiceManager::getInstance()->SetServicesChanged(false);
|
CServiceManager::getInstance()->SetServicesChanged(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user