mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 05:27:17 +09:00
Changed behaviour of refresh button in SetupScreen
This commit is contained in:
parent
fbbf51851e
commit
a97100216c
@ -81,19 +81,6 @@ namespace osu.Game.Tournament.Screens
|
|||||||
Label = "Current IPC source",
|
Label = "Current IPC source",
|
||||||
ButtonText = "Refresh",
|
ButtonText = "Refresh",
|
||||||
Action = () =>
|
Action = () =>
|
||||||
{
|
|
||||||
fileBasedIpc?.LocateStableStorage();
|
|
||||||
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(_ =>
|
stableInfo.StablePath.BindValueChanged(_ =>
|
||||||
{
|
{
|
||||||
@ -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…
x
Reference in New Issue
Block a user