mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
bouquetlist: mark autogenerated bouquets as readonly
this at least prevents modification from the context menu, needs more work in the service->bouquetmanagement menus
This commit is contained in:
committed by
[CST] Focus
parent
2f30a63a6b
commit
25de0d4380
@@ -88,7 +88,7 @@ CBouquet* CBouquetList::addBouquet(CZapitBouquet * zapitBouquet)
|
|||||||
else
|
else
|
||||||
bname = zapitBouquet->Name.c_str();
|
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;
|
tmp->zapitBouquet = zapitBouquet;
|
||||||
Bouquets.push_back(tmp);
|
Bouquets.push_back(tmp);
|
||||||
return tmp;
|
return tmp;
|
||||||
|
Reference in New Issue
Block a user