gui/timerlist.cpp: check CFEManager::getEnabledCount in place of CFEManager::FE_MODE_SINGLE

Origin commit data
------------------
Branch: ni/coolstream
Commit: fb7c0963cc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-01 (Mon, 01 Apr 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-04-01 14:49:36 +04:00
parent fa4ef39db9
commit 46f9c23635

View File

@@ -1251,7 +1251,7 @@ int CTimerList::newTimer()
bool askUserOnTimerConflict(time_t announceTime, time_t stopTime)
{
if (CFEManager::getInstance()->getMode() == CFEManager::FE_MODE_SINGLE){
if (CFEManager::getInstance()->getEnabledCount() == 1) {
CTimerdClient Timer;
CTimerd::TimerList overlappingTimers = Timer.getOverlappingTimers(announceTime,stopTime);
//printf("[CTimerdClient] attention\n%d\t%d\t%d conflicts with:\n",timerNew.announceTime,timerNew.alarmTime,timerNew.stopTime);