Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Always ensure time entry has GUID (lib), closes #2485
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Jun 22, 2018
1 parent a478a20 commit e2d6257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ bool TimeEntry::operator == (const TimeEntry& a) const {
}

void TimeEntry::Fill(toggl::TimeEntry * const model) {
model->EnsureGUID();
DurationInSeconds = model->DurationInSeconds();
Description = model->Description();
GUID = model->GUID();
Expand Down

0 comments on commit e2d6257

Please sign in to comment.