Skip to content

Commit

Permalink
2.3.1.9 Ensuring that we get the main screen capture interval from an…
Browse files Browse the repository at this point in the history
…y version older than this version during the schedule import and use it as the interval for each imported schedule.
  • Loading branch information
gavinkendall committed Aug 12, 2020
1 parent 748902a commit 4d251c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/schedules/ScheduleCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public bool LoadXmlFileAndAddSchedules()
Log.WriteDebugMessage("Boombayah 2.3.1.8 or older detected");

// A new property for Schedule introduced in 2.3.1.9
schedule.ScreenCaptureInterval = 0;
schedule.ScreenCaptureInterval = Convert.ToInt32(Settings.User.GetByKey("IntScreenCaptureInterval", DefaultSettings.IntScreenCaptureInterval).Value);
}
}

Expand Down Expand Up @@ -303,8 +303,6 @@ public bool LoadXmlFileAndAddSchedules()
specialSchedule.Friday = friday;
specialSchedule.Saturday = saturday;
}

specialSchedule.Notes += " Your schedule from a previous version of the application has been imported.";
}

Add(specialSchedule);
Expand Down

0 comments on commit 4d251c7

Please sign in to comment.