From a56bb97b50c59be5dc71bf7703c8bec8f2edf8d4 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 9 Feb 2017 22:40:38 +0100 Subject: [PATCH] Revert "CChannelList: delete with red yes button" This reverts commit 36896849689c552989cf365984de546a4ed5282a. User request: Is not desired --- 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 efa09a771..c28a6bbe5 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2660,7 +2660,7 @@ void CChannelList::deleteChannel(bool ask) if (!bouquet || !bouquet->zapitBouquet) return; - if (ask && ShowMsg(LOCALE_FILEBROWSER_DELETE, (*chanlist)[selected]->getName(), CMsgBox::mbrYes, CMsgBox::mbNoYes)!=CMsgBox::mbrYes) + if (ask && ShowMsg(LOCALE_FILEBROWSER_DELETE, (*chanlist)[selected]->getName(), CMsgBox::mbrNo, CMsgBox::mbYes|CMsgBox::mbNo)!=CMsgBox::mbrYes) return; bouquet->zapitBouquet->removeService((*chanlist)[selected]->getChannelID());