Skip to content

Commit 13afefb

Browse files
committed
Fix: App crash when double click on port profile
1 parent 2b359d0 commit 13afefb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,4 @@ Build/
257257
.vscode/
258258
*.exe
259259
*.dll
260+
ToDo.md

Source/NETworkManager/Views/PortProfilesChildWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private void ChildWindow_OnLoaded(object sender, RoutedEventArgs e)
3535

3636
private void DataGridRow_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
3737
{
38-
var x = (SNMPOIDProfilesViewModel)DataContext;
38+
var x = (PortProfilesViewModel)DataContext;
3939

4040
if (x.OKCommand.CanExecute(null))
4141
x.OKCommand.Execute(null);

0 commit comments

Comments
 (0)