run project from context menu

This commit is contained in:
Matt Parker
2025-10-10 20:45:15 +10:00
parent 4846c37eac
commit 8861e1a2ac

View File

@@ -35,7 +35,11 @@ public partial class SolutionExplorerPanel
var actionId = (ProjectContextMenuOptions)id;
if (actionId is ProjectContextMenuOptions.Run)
{
_ = Task.GodotRun(async () =>
{
GodotGlobalEvents.Instance.BottomPanelTabExternallySelected.InvokeParallelFireAndForget(BottomPanelType.Run);
await Singletons.RunService.RunProject(project);
});
}
if (actionId is ProjectContextMenuOptions.Build)
{