mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
added the abitliy to opt out of pinyin in control panel and in program plug in - this give a major perf boost (and I'm guessing it is not relevant for most users)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace Wox.Plugin.ControlPanel
|
||||
{
|
||||
public class ControlPanelSettingsViewModel : BaseModel
|
||||
{
|
||||
private readonly Settings _settings;
|
||||
|
||||
public ControlPanelSettingsViewModel(Settings settings)
|
||||
{
|
||||
_settings = settings;
|
||||
}
|
||||
|
||||
public bool ShouldUsePinYin
|
||||
{
|
||||
get { return _settings.ShouldUsePinYin; }
|
||||
set
|
||||
{
|
||||
_settings.ShouldUsePinYin = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user