From 563f2bba2e126a7326cdee3fb7389c642e5da233 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Wed, 27 Aug 2025 21:44:26 +1000 Subject: [PATCH] display tabs on events --- src/SharpIDE.Godot/Features/Run/RunMenuItem.cs | 1 + src/SharpIDE.Godot/IdeRoot.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs b/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs index 81c6ab4..b03a162 100644 --- a/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs +++ b/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs @@ -47,6 +47,7 @@ public partial class RunMenuItem : HBoxContainer private async void OnRunButtonPressed() { + GodotGlobalEvents.InvokeBottomPanelTabSelected(BottomPanelType.Run); await Singletons.RunService.RunProject(Project).ConfigureAwait(false); } } \ No newline at end of file diff --git a/src/SharpIDE.Godot/IdeRoot.cs b/src/SharpIDE.Godot/IdeRoot.cs index 163c34c..bb48bb5 100644 --- a/src/SharpIDE.Godot/IdeRoot.cs +++ b/src/SharpIDE.Godot/IdeRoot.cs @@ -56,6 +56,7 @@ public partial class IdeRoot : Control private async void OnBuildSlnButtonPressed() { + GodotGlobalEvents.InvokeBottomPanelTabSelected(BottomPanelType.Build); await Singletons.BuildService.MsBuildSolutionAsync(_solutionExplorerPanel.SolutionModel.FilePath); }