~thomir-deactivatedaccount/ubuntu-calendar-app/trunk-fix-ugly-bits

« back to all changes in this revision

Viewing changes to calendar.qml

  • Committer: Kunal Parmar
  • Date: 2014-02-27 15:09:06 UTC
  • mfrom: (207 trunk)
  • mto: This revision was merged to the branch mainline in revision 239.
  • Revision ID: pkunal.parmar@gmail.com-20140227150906-g8819amy85y48i13
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
                if(globalModel) {
95
95
                    globalModel.startPeriod =  new Date(currentDay.getFullYear(),0,1,0,0,0,0);
96
96
                    globalModel.endPeriod = new Date(currentDay.getFullYear(),11,31,0,0,0,0);
 
97
                    // only enable auto update after set the date interval
 
98
                    globalModel.autoUpdate = true
 
99
                    globalModel.update()
97
100
                }
98
101
            }
99
102