mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Delete custom layout if malformed (#6011)
This commit is contained in:
@@ -293,6 +293,7 @@ namespace FancyZonesEditor.Models
|
||||
if (error)
|
||||
{
|
||||
ShowExceptionMessageBox(string.Format(ErrorLayoutMalformedData, name));
|
||||
_deletedCustomModels.Add(Guid.Parse(uuid).ToString().ToUpper());
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -332,6 +333,7 @@ namespace FancyZonesEditor.Models
|
||||
if (error)
|
||||
{
|
||||
ShowExceptionMessageBox(string.Format(ErrorLayoutMalformedData, name));
|
||||
_deletedCustomModels.Add(Guid.Parse(uuid).ToString().ToUpper());
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user