Move decoding of style to the correct place.

This commit is contained in:
Gregory John Casamento 2020-05-02 13:48:12 -04:00
parent 7b0bbdc26a
commit 0c05c151a8
2 changed files with 7 additions and 7 deletions

View file

@ -176,6 +176,13 @@
{
if ([coder allowsKeyedCoding])
{
[self setPathStyle: NSPathStyleStandard];
if ([coder containsValueForKey: @"NSPathStyle"])
{
[self setPathStyle: [coder decodeIntegerForKey: @"NSPathStyle"]];
}
if ([coder containsValueForKey: @"NSPathComponentCells"])
{
[self setPathComponentCells: [coder decodeObjectForKey: @"NSPathComponentCells"]];