mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
removed restrictions for image-resizer file format (#3377)
This commit is contained in:
@@ -178,10 +178,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
|
||||
set
|
||||
{
|
||||
var regex = @"[%]{1}[1-6]{1} [(]{1}[%]{1}[1-6]{1}[)]{1}";
|
||||
Match match = Regex.Match(value.Trim(), regex);
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(value) && match.Success)
|
||||
if (!string.IsNullOrWhiteSpace(value))
|
||||
{
|
||||
_fileName = value;
|
||||
Settings.Properties.ImageresizerFileName.Value = value;
|
||||
|
||||
Reference in New Issue
Block a user