From 36896849689c552989cf365984de546a4ed5282a Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 27 Oct 2016 12:16:55 +0200 Subject: [PATCH] CChannelList: delete with red yes button --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 176f34315..c37aa9637 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -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());