Skip to content

Commit 8694e38

Browse files
committed
property description fixed
1 parent aa5a2c9 commit 8694e38

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Source/NETworkManager/ViewModels/Applications/DNSLookupViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public DNSLookupViewModel()
202202
{
203203
_hostHistoryView = CollectionViewSource.GetDefaultView(SettingsManager.Current.DNSLookup_HostHistory);
204204
_lookupResultView = CollectionViewSource.GetDefaultView(LookupResult);
205-
_lookupResultView.GroupDescriptions.Add(new PropertyGroupDescription("DNSServer"));
205+
_lookupResultView.GroupDescriptions.Add(new PropertyGroupDescription(nameof(DNSLookupRecordInfo.DNSServer)));
206206

207207
LoadSettings();
208208

Source/NETworkManager/ViewModels/Applications/IPScannerViewModel.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public IPScannerViewModel(IDialogCoordinator instance)
334334

335335
// Result view
336336
_ipScanResultView = CollectionViewSource.GetDefaultView(IPScanResult);
337-
_ipScanResultView.SortDescriptions.Add(new SortDescription(nameof(PingInfo.IPAddressInt32), ListSortDirection.Ascending));
337+
_ipScanResultView.SortDescriptions.Add(new SortDescription(nameof(IPScannerHostInfo.PingInfo) + "." + nameof(PingInfo.IPAddressInt32), ListSortDirection.Ascending));
338338

339339
// Load profiles
340340
if (IPScannerProfileManager.Profiles == null)
@@ -490,9 +490,9 @@ public ICommand CopySelectedStatusCommand
490490
}
491491

492492
private void CopySelectedStatusAction()
493-
{
493+
{
494494
Clipboard.SetText(Application.Current.Resources["String_IPStatus_" + SelectedIPScanResult.PingInfo.Status.ToString()] as string);
495-
}
495+
}
496496

497497
public ICommand AddProfileCommand
498498
{
@@ -606,7 +606,7 @@ private async void CopyAsProfileAction()
606606

607607
await dialogCoordinator.ShowMetroDialogAsync(this, customDialog);
608608
}
609-
609+
610610
public ICommand DeleteProfileCommand
611611
{
612612
get { return new RelayCommand(p => DeleteProfileAction()); }
@@ -636,7 +636,7 @@ private async void DeleteProfileAction()
636636
};
637637

638638
await dialogCoordinator.ShowMetroDialogAsync(this, customDialog);
639-
}
639+
}
640640
#endregion
641641

642642
#region Methods

0 commit comments

Comments
 (0)