Skip to content

Commit 22e3bd4

Browse files
committed
Chore: Add default server
1 parent cb74039 commit 22e3bd4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Source/NETworkManager/ViewModels/SNMPSettingsViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public SNMPSettingsViewModel()
107107
OIDProfiles.SortDescriptions.Add(new SortDescription(nameof(SNMPOIDProfileInfo.Name),
108108
ListSortDirection.Ascending));
109109

110+
SelectedOIDProfile = OIDProfiles.Cast<SNMPOIDProfileInfo>().FirstOrDefault();
111+
110112
LoadSettings();
111113

112114
_isLoading = false;

Source/NETworkManager/ViewModels/SNTPLookupSettingsViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public SNTPLookupSettingsViewModel()
8686
SNTPServers.SortDescriptions.Add(new SortDescription(nameof(ServerConnectionInfoProfile.Name),
8787
ListSortDirection.Ascending));
8888

89+
SelectedSNTPServer = SNTPServers.Cast<ServerConnectionInfoProfile>().FirstOrDefault();
90+
8991
LoadSettings();
9092

9193
_isLoading = false;

0 commit comments

Comments
 (0)