mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-21 22:19:52 +01:00
[PTRun]UI for turning on Pinyin on Settings (#24293)
* Conflict resolving Part 1 * Conflict resolving Part 2 * Conflict resolving Part 3 * Conflict resolving part 4 * fix usepinyin * Add test and fix setting * Fix whitespace * Fix prefix name * Add mention that it doesn't work for every plugin
This commit is contained in:
@@ -580,6 +580,23 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool UsePinyin
|
||||
{
|
||||
get
|
||||
{
|
||||
return settings.Properties.UsePinyin;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (settings.Properties.UsePinyin != value)
|
||||
{
|
||||
settings.Properties.UsePinyin = value;
|
||||
UpdateSettings();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private ObservableCollection<PowerLauncherPluginViewModel> _plugins;
|
||||
|
||||
public ObservableCollection<PowerLauncherPluginViewModel> Plugins
|
||||
|
||||
Reference in New Issue
Block a user