mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
Make sure NSCell objects do not spoil their sendActionMask when encoding them
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13818 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
93e30dd7e3
commit
7e65a9dbfa
1 changed files with 7 additions and 0 deletions
|
@ -246,6 +246,13 @@ void __dummy_GMAppKit_functionForLinking() {}
|
|||
[archiver encodeBOOL:[self isScrollable] withName:@"isScrollable"];
|
||||
[archiver encodeBOOL:[self isContinuous] withName:@"isContinuous"];
|
||||
[archiver encodeInt:[self sendActionOn: 0] withName:@"sendActionMask"];
|
||||
{
|
||||
/* NB: this is not decoded so maybe we could just do without
|
||||
encoding it. :-) */
|
||||
int actionMask = [self sendActionOn: 0];
|
||||
[archiver encodeInt:actionMask withName:@"sendActionMask"];
|
||||
[self sendActionOn: actionMask];
|
||||
}
|
||||
}
|
||||
|
||||
- (id)initWithModelUnarchiver:(GMUnarchiver*)unarchiver
|
||||
|
|
Loading…
Reference in a new issue