We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b2bd8 commit 32d5222Copy full SHA for 32d5222
Flow.Launcher/ViewModel/MainViewModel.cs
@@ -1021,6 +1021,22 @@ private void QueryContextMenu()
1021
else
1022
{
1023
results = PluginManager.GetContextMenusForPlugin(selected);
1024
+
1025
+ // To prevent accidental actions, make the topmost (and default) element a simple 'Go back'
1026
+ results.Insert(0, new()
1027
+ {
1028
+ Title = "Go back",
1029
+ PluginDirectory = Constant.ProgramDirectory,
1030
+ Action = _ =>
1031
1032
+ App.API.ReQuery();
1033
+ return false;
1034
+ },
1035
+ Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\uF743"),
1036
+ OriginQuery = selected.OriginQuery
1037
1038
+ });
1039
1040
results.Add(ContextMenuTopMost(selected));
1041
results.Add(ContextMenuPluginInfo(selected));
1042
}
0 commit comments