From c48987f0d212eb2f361ccab313ff124536c21de7 Mon Sep 17 00:00:00 2001 From: Michael Beer Date: Tue, 14 May 2019 22:39:48 +0200 Subject: [PATCH] Fixed type of LookaheadLookbackMinutes --- OutlookSwissPTTimetable/OutlookSwissPTTimetable.csproj | 4 +++- OutlookSwissPTTimetable/Properties/Settings.Designer.cs | 4 ++-- OutlookSwissPTTimetable/Properties/Settings.settings | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/OutlookSwissPTTimetable/OutlookSwissPTTimetable.csproj b/OutlookSwissPTTimetable/OutlookSwissPTTimetable.csproj index abfdcdb..82e241b 100644 --- a/OutlookSwissPTTimetable/OutlookSwissPTTimetable.csproj +++ b/OutlookSwissPTTimetable/OutlookSwissPTTimetable.csproj @@ -222,7 +222,9 @@ Designer Resources.Designer.cs - + + Designer + diff --git a/OutlookSwissPTTimetable/Properties/Settings.Designer.cs b/OutlookSwissPTTimetable/Properties/Settings.Designer.cs index 69affd6..0d45e7f 100644 --- a/OutlookSwissPTTimetable/Properties/Settings.Designer.cs +++ b/OutlookSwissPTTimetable/Properties/Settings.Designer.cs @@ -50,9 +50,9 @@ public ushort BusyStatus { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("5")] - public string LookaheadLookbackMinutes { + public ushort LookaheadLookbackMinutes { get { - return ((string)(this["LookaheadLookbackMinutes"])); + return ((ushort)(this["LookaheadLookbackMinutes"])); } set { this["LookaheadLookbackMinutes"] = value; diff --git a/OutlookSwissPTTimetable/Properties/Settings.settings b/OutlookSwissPTTimetable/Properties/Settings.settings index f3f6fd5..ce4fbc2 100644 --- a/OutlookSwissPTTimetable/Properties/Settings.settings +++ b/OutlookSwissPTTimetable/Properties/Settings.settings @@ -8,7 +8,7 @@ 2 - + 5