Allow check pre-release version

This commit is contained in:
noisyfox
2016-12-06 22:01:00 +11:00
parent 1e7a8de34a
commit 65b9c9f5fa
6 changed files with 72 additions and 29 deletions
@@ -357,6 +357,16 @@ namespace Shadowsocks.Controller
}
}
public void ToggleCheckingPreRelease(bool enabled)
{
_config.checkPreRelease = enabled;
Configuration.Save(_config);
if (ConfigChanged != null)
{
ConfigChanged(this, new EventArgs());
}
}
public void SaveLogViewerConfig(LogViewerConfig newConfig)
{
_config.logViewer = newConfig;