Skip to content

Commit 0d64283

Browse files
authored
Merge pull request #874 from Flow-Launcher/WindowsSettingContextRemove
Remove contextmenu of windowsseting plugin
2 parents 4a3f134 + e62f6d9 commit 0d64283

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

Plugins/Flow.Launcher.Plugin.WindowsSettings/Helper/ContextMenuHelper.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,7 @@ internal static class ContextMenuHelper
2121
/// <returns>A list with context menu entries</returns>
2222
internal static List<Result> GetContextMenu(in Result result, in string assemblyName)
2323
{
24-
if (result?.ContextData is not WindowsSetting entry)
25-
{
26-
return new List<Result>(0);
27-
}
28-
29-
var list = new List<Result>(1)
30-
{
31-
new()
32-
{
33-
Action = _ => TryToCopyToClipBoard(entry.Command),
34-
Title = $"{Resources.CopyCommand} (Ctrl+C)",
35-
},
36-
};
37-
38-
return list;
24+
return new List<Result>(0);
3925
}
4026

4127
/// <summary>

0 commit comments

Comments
 (0)