From d9e704f460464ad23b4dc3872e14f8be284b5714 Mon Sep 17 00:00:00 2001 From: sleevezipper Date: Thu, 18 Feb 2021 22:30:41 +0100 Subject: [PATCH] fix #33 --- UserInterface/Views/AddCommandDialog.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }