diff --git a/UserInterface/Views/AddCommandDialog.axaml.cs b/UserInterface/Views/AddCommandDialog.axaml.cs index f0499b5..a7d7a1f 100644 --- a/UserInterface/Views/AddCommandDialog.axaml.cs +++ b/UserInterface/Views/AddCommandDialog.axaml.cs @@ -87,7 +87,7 @@ namespace UserInterface.Views } public void OpenInfo(object sender, RoutedEventArgs args) { - var item = ((AddSensorViewModel)this.DataContext); + var item = ((AddCommandViewModel)this.DataContext); BrowserUtil.OpenBrowser(item.MoreInfoLink); }