mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 10:50:37 +00:00
Move decoding of style to the correct place.
This commit is contained in:
parent
7b0bbdc26a
commit
0c05c151a8
2 changed files with 7 additions and 7 deletions
|
@ -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"]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue