mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[Keyboard Manager] Allow whitespace-only TextRemappings (#46510)
Title. Closes #46453
This commit is contained in:
@@ -90,7 +90,7 @@ namespace KeyboardManagerEditorUI.Helpers
|
||||
return ValidationErrorType.EmptyOriginalKeys;
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(textContent))
|
||||
if (string.IsNullOrEmpty(textContent))
|
||||
{
|
||||
return ValidationErrorType.EmptyTargetText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user