Skip to content

Commit

Permalink
Fix custom date field association (To/From) in Reports view
Browse files Browse the repository at this point in the history
  • Loading branch information
infotexture authored and artynusov committed Jan 8, 2014
1 parent f3c3f25 commit f440aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/controllers/reports_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def setDate(self, date):
self.endDate = Timings.workStartDateTime() + datetime.timedelta(days=1)

def updateCustomDatePicker(self):
self.dpkrTo.setDateValue_(datetimeToNSDate(self.startDate))
self.dpkrFrom.setDateValue_(datetimeToNSDate(self.endDate))
self.dpkrTo.setDateValue_(datetimeToNSDate(self.endDate))
self.dpkrFrom.setDateValue_(datetimeToNSDate(self.startDate))

def updateState(self):
self.updateCustomDatePicker()
Expand Down

0 comments on commit f440aa5

Please sign in to comment.