Set TorchUI window title with InstanceName setting (in torch.cfg)

This commit is contained in:
Brant Martin
2018-07-26 23:24:40 -04:00
parent 6a6676c1cb
commit 8764540d3b

View File

@@ -52,6 +52,7 @@ namespace Torch.Server
Themes.uiSource = this; Themes.uiSource = this;
Themes.SetConfig(_config); Themes.SetConfig(_config);
Title = $"{_config.InstanceName} - Torch {server.TorchVersion}, SE {server.GameVersion}";
} }
private void AttachConsole() private void AttachConsole()