mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 20:49:13 +00:00
I deleted unwillingly a couple of lines in last commits; fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5449 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
788809edca
commit
d786d81db3
1 changed files with 5 additions and 1 deletions
|
@ -296,10 +296,14 @@ Class _nspopupbuttonCellClass = 0;
|
|||
{
|
||||
NSMenuView *mr = [[cell menu] menuRepresentation];
|
||||
NSEvent *e;
|
||||
|
||||
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
if ([self isEnabled] == NO)
|
||||
return;
|
||||
|
||||
[nc postNotificationName: NSPopUpButtonWillPopUpNotification
|
||||
object: self];
|
||||
|
||||
// Attach the popUp
|
||||
[cell attachPopUpWithFrame: bounds
|
||||
inView: self];
|
||||
|
|
Loading…
Reference in a new issue