mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
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:
parent
1c6f7ceaa0
commit
2bb22d1f9b
2 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue