mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 12:02:55 +08:00
Changed behaviour of refresh button in SetupScreen
This commit is contained in:
parent
fbbf51851e
commit
a97100216c
@ -82,20 +82,7 @@ namespace osu.Game.Tournament.Screens
|
|||||||
ButtonText = "Refresh",
|
ButtonText = "Refresh",
|
||||||
Action = () =>
|
Action = () =>
|
||||||
{
|
{
|
||||||
fileBasedIpc?.LocateStableStorage();
|
stableInfo.StablePath.BindValueChanged(_ =>
|
||||||
reload();
|
|
||||||
},
|
|
||||||
Value = fileBasedIpc?.IPCStorage?.GetFullPath(string.Empty) ?? "Not found",
|
|
||||||
Failing = fileBasedIpc?.IPCStorage == null,
|
|
||||||
Description = "The osu!stable installation which is currently being used as a data source. If a source is not found, make sure you have created an empty ipc.txt in your stable cutting-edge installation, and that it is registered as the default osu! install."
|
|
||||||
},
|
|
||||||
new ActionableInfo
|
|
||||||
{
|
|
||||||
Label = "Custom IPC source",
|
|
||||||
ButtonText = "Change path",
|
|
||||||
Action = () =>
|
|
||||||
{
|
|
||||||
stableInfo.StablePath.BindValueChanged(_ =>
|
|
||||||
{
|
{
|
||||||
fileBasedIpc?.LocateStableStorage();
|
fileBasedIpc?.LocateStableStorage();
|
||||||
Schedule(reload);
|
Schedule(reload);
|
||||||
@ -104,7 +91,7 @@ namespace osu.Game.Tournament.Screens
|
|||||||
},
|
},
|
||||||
Value = fileBasedIpc?.IPCStorage?.GetFullPath(string.Empty) ?? "Not found",
|
Value = fileBasedIpc?.IPCStorage?.GetFullPath(string.Empty) ?? "Not found",
|
||||||
Failing = fileBasedIpc?.IPCStorage == null,
|
Failing = fileBasedIpc?.IPCStorage == null,
|
||||||
Description = "The osu!stable installation which is currently being used as a data source. If a source is not found, you can manually select the desired osu! installation that you want to use."
|
Description = "The osu!stable installation which is currently being used as a data source. If a source is not found, make sure you have created an empty ipc.txt in your stable cutting-edge installation."
|
||||||
},
|
},
|
||||||
new ActionableInfo
|
new ActionableInfo
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user