Replace the key equivalent when it was set wrongly by Gorm.

Patch by Wolfgang Lux  <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27579 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2009-01-12 14:02:05 +00:00
parent 1c6f7ceaa0
commit 2bb22d1f9b
2 changed files with 13 additions and 0 deletions

View file

@ -1764,6 +1764,13 @@ typedef struct _GSButtonCellFlags
_shows_border_only_while_mouse_inside = tmp;
}
}
// Hack to correct a Gorm problem, there "\n" is used instead of "\r".
if ([_keyEquivalent isEqualToString: @"\n" ])
{
[self setKeyEquivalent: @"\r"];
}
return self;
}