From 55bf8603c9ca7b949e4cb09dc82c41b2ede3a3fe Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 15 Jan 2015 16:35:11 +0300 Subject: [PATCH] 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 2644b30b6a94a020350c70b26c11371342e87362) --- src/zapit/src/bouquets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index 6da5ebbf9..54a826805 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -452,6 +452,8 @@ void CBouquetManager::parseBouquetsXml(const char *fname, bool bUser) CServiceManager::getInstance()->AddChannel(chan); chan->flags = CZapitChannel::NOT_FOUND; chan->bLocked = clock; + if(!(uname.empty())) + chan->setUserName(uname); newBouquet->addService(chan); CServiceManager::getInstance()->SetServicesChanged(false); }