async fix
This commit is contained in:
@@ -134,12 +134,12 @@ public static class Extensions
|
|||||||
private static void RadMenuItem_RMMethod_Click(object? sender, RoutedEventArgs e)
|
private static void RadMenuItem_RMMethod_Click(object? sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
//if (sender is MenuItem item && item.IsEnabled && item.Tag is PluginModule module)
|
//if (sender is MenuItem item && item.IsEnabled && item.Tag is PluginModule module)
|
||||||
// module.ShowUI();
|
// await module.ShowUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void RadMenuItem_RMFunction_Click(object? sender, RoutedEventArgs e)
|
private static async void RadMenuItem_RMFunction_Click(object? sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (sender is MenuItem item && item.Tag is PluginFunction function && function.Enabled)
|
if (sender is MenuItem item && item.Tag is PluginFunction function && function.Enabled)
|
||||||
function.Execute();
|
await function.ExecuteAsync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>1.0.0</Version>
|
<Version>1.0.1</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user