mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[FZEditor]don't return error on empty files (#15819)
This commit is contained in:
@@ -630,7 +630,7 @@ namespace FancyZonesEditor.Utils
|
||||
}
|
||||
}
|
||||
|
||||
return new ParsingResult(false, FancyZonesEditor.Properties.Resources.Error_Parsing_Layout_Templates_Message);
|
||||
return new ParsingResult(true);
|
||||
}
|
||||
|
||||
public ParsingResult ParseCustomLayouts()
|
||||
@@ -670,7 +670,7 @@ namespace FancyZonesEditor.Utils
|
||||
}
|
||||
}
|
||||
|
||||
return new ParsingResult(false, FancyZonesEditor.Properties.Resources.Error_Parsing_Custom_Layouts_Message);
|
||||
return new ParsingResult(true);
|
||||
}
|
||||
|
||||
public void SerializeAppliedLayouts()
|
||||
|
||||
Reference in New Issue
Block a user