From 5f23a1fefd2400501bcd3ee4f0228711e4499a10 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 9 Mar 2013 23:58:31 +0100 Subject: [PATCH] bouquetlist: mark autogenerated bouquets as readonly this at least prevents modification from the context menu, needs more work in the service->bouquetmanagement menus Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b61d0d1d3eed2821072a5aaf4d3a292ce88ac245 Author: Stefan Seyfried Date: 2013-03-09 (Sat, 09 Mar 2013) ------------------ This commit was generated by Migit --- src/gui/bouquetlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index d52910fb6..9d457a997 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -88,7 +88,7 @@ CBouquet* CBouquetList::addBouquet(CZapitBouquet * zapitBouquet) else bname = zapitBouquet->Name.c_str(); - CBouquet* tmp = new CBouquet(BouquetKey, bname, zapitBouquet->bLocked); + CBouquet* tmp = new CBouquet(BouquetKey, bname, zapitBouquet->bLocked, !zapitBouquet->bUser); tmp->zapitBouquet = zapitBouquet; Bouquets.push_back(tmp); return tmp;