Add preserves_selection encoding/decoding

This commit is contained in:
Gregory John Casamento 2023-02-23 01:13:40 -05:00
parent 11de08b623
commit 2b20808ddd

View file

@ -587,6 +587,9 @@ atArrangedObjectIndexes: (NSIndexSet*)idx
{
BOOL f;
f = _acflags.avoids_empty_selection;
[coder encodeValueOfObjCType: @encode(BOOL)
at: &f];
f = _acflags.preserves_selection;
[coder encodeValueOfObjCType: @encode(BOOL)
at: &f];
f = _acflags.selects_inserted_objects;
@ -642,6 +645,9 @@ atArrangedObjectIndexes: (NSIndexSet*)idx
[coder decodeValueOfObjCType: @encode(BOOL)
at: &f];
_acflags.avoids_empty_selection = f;
[coder decodeValueOfObjCType: @encode(BOOL)
at: &f];
_acflags.preserves_selection = f;
[coder decodeValueOfObjCType: @encode(BOOL)
at: &f];
_acflags.selects_inserted_objects = f;