CChannelList: delete with red yes button

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3689684968
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-27 (Thu, 27 Oct 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2016-10-27 12:16:55 +02:00
parent ffb8bca931
commit d7a37f65d0

View File

@@ -2631,7 +2631,7 @@ void CChannelList::deleteChannel(bool ask)
if (!bouquet || !bouquet->zapitBouquet) if (!bouquet || !bouquet->zapitBouquet)
return; 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; return;
bouquet->zapitBouquet->removeService((*chanlist)[selected]->getChannelID()); bouquet->zapitBouquet->removeService((*chanlist)[selected]->getChannelID());