mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
PowerAccent-21531: support excluded apps (#22004)
This commit is contained in:
@@ -56,6 +56,9 @@ public class SettingsService
|
||||
InputTime = settings.Properties.InputTime.Value;
|
||||
_keyboardListener.UpdateInputTime(InputTime);
|
||||
|
||||
ExcludedApps = settings.Properties.ExcludedApps.Value;
|
||||
_keyboardListener.UpdateExcludedApps(ExcludedApps);
|
||||
|
||||
SelectedLang = Enum.TryParse(settings.Properties.SelectedLang.Value, out Language selectedLangValue) ? selectedLangValue : Language.ALL;
|
||||
|
||||
switch (settings.Properties.ToolbarPosition.Value)
|
||||
@@ -143,6 +146,21 @@ public class SettingsService
|
||||
}
|
||||
}
|
||||
|
||||
private string _excludedApps;
|
||||
|
||||
public string ExcludedApps
|
||||
{
|
||||
get
|
||||
{
|
||||
return _excludedApps;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_excludedApps = value;
|
||||
}
|
||||
}
|
||||
|
||||
private Language _selectedLang;
|
||||
|
||||
public Language SelectedLang
|
||||
|
||||
Reference in New Issue
Block a user