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); }