mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CChannelList: delete with red yes button
This commit is contained in:
@@ -2631,7 +2631,7 @@ void CChannelList::deleteChannel(bool ask)
|
||||
if (!bouquet || !bouquet->zapitBouquet)
|
||||
return;
|
||||
|
||||
if (ask && ShowMsg(LOCALE_FILEBROWSER_DELETE, (*chanlist)[selected]->getName(), CMsgBox::mbrNo, CMsgBox::mbYes|CMsgBox::mbNo)!=CMsgBox::mbrYes)
|
||||
if (ask && ShowMsg(LOCALE_FILEBROWSER_DELETE, (*chanlist)[selected]->getName(), CMsgBox::mbrYes, CMsgBox::mbNoYes)!=CMsgBox::mbrYes)
|
||||
return;
|
||||
|
||||
bouquet->zapitBouquet->removeService((*chanlist)[selected]->getChannelID());
|
||||
|
Reference in New Issue
Block a user