diff --git a/osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs b/osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs index 74c872646c..2134dbf9d3 100644 --- a/osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs +++ b/osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs @@ -11,6 +11,7 @@ namespace osu.Game.Tournament.Screens.Setup internal class TournamentSwitcher : ActionableInfo { private OsuDropdown dropdown; + private OsuButton folderButton; [Resolved] private TournamentGameBase game { get; set; } @@ -25,6 +26,7 @@ namespace osu.Game.Tournament.Screens.Setup dropdown.Current.BindValueChanged(v => Button.Enabled.Value = v.NewValue != startupTournament, true); Action = () => game.GracefullyExit(); + folderButton.Action = storage.PresentExternally; ButtonText = "Close osu!"; } @@ -38,6 +40,12 @@ namespace osu.Game.Tournament.Screens.Setup Width = 510 }); + FlowContainer.Insert(-2, folderButton = new TriangleButton + { + Text = "Open folder", + Width = 100 + }); + return drawable; } }