mirror of
https://github.com/microsoft/PowerToys
synced 2025-09-01 15:05:12 +00:00
Crop And Lock added to Run plugin (#27927)
This commit is contained in:
committed by
GitHub
parent
c1316fc9f8
commit
83143169c6
@@ -685,6 +685,8 @@ std::string ESettingsWindowNames_to_string(ESettingsWindowNames value)
|
||||
return "PowerOCR";
|
||||
case ESettingsWindowNames::RegistryPreview:
|
||||
return "RegistryPreview";
|
||||
case ESettingsWindowNames::CropAndLock:
|
||||
return "CropAndLock";
|
||||
default:
|
||||
{
|
||||
Logger::error(L"Can't convert ESettingsWindowNames value={} to string", static_cast<int>(value));
|
||||
@@ -760,6 +762,10 @@ ESettingsWindowNames ESettingsWindowNames_from_string(std::string value)
|
||||
{
|
||||
return ESettingsWindowNames::RegistryPreview;
|
||||
}
|
||||
else if (value == "CropAndLock")
|
||||
{
|
||||
return ESettingsWindowNames::CropAndLock;
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger::error(L"Can't convert string value={} to ESettingsWindowNames", winrt::to_hstring(value));
|
||||
|
Reference in New Issue
Block a user