Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Implemented support to take XAB online or offline.
[xestiaab/.git] / source / actmgr / frmActivityMgr-tasks.cpp
index 8aa7d1e..cdcdfc7 100644 (file)
@@ -31,7 +31,11 @@ int frmActivityMgr::AddTask(int TaskType, wxString TaskDetail, wxString TaskAcco
        coldata.SetId(ActivityTaskID);
        coldata.SetData(ActivityTaskID);
 
-       AnimationTimer.StartAnimation();
+       if (ApplicationSleepMode == FALSE){
+               
+               AnimationTimer.StartAnimation();
+               
+       }
 
        // Get the preferences file.
        
@@ -193,7 +197,7 @@ int frmActivityMgr::AddTask(int TaskType, wxString TaskDetail, wxString TaskAcco
        
        ProcessTasksData = TRUE;
        
-       if (!ActProcessTimer.IsRunning()) {
+       if (!ActProcessTimer.IsRunning() && ApplicationSleepMode == FALSE) {
        
                wxCommandEvent event(ACTMGR_STARTTIMER);
                wxPostEvent(this, event);
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy