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:
Stefan Seyfried
2013-03-09 23:58:31 +01:00
committed by [CST] Focus
parent 2f30a63a6b
commit 25de0d4380

View File

@@ -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;