Reflect changes to title of popup button in display.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18487 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-01-26 20:49:33 +00:00
parent 0285ceb796
commit 173ec629ad
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-01-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButton.m (-setTitle:) Call
[synchronizeTitleAndSelectedItem], this may as well belong into
the cells setTitle: method instead.
2004-01-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m: Exchanged the code of

View file

@ -284,6 +284,7 @@ this to return nil to indicate that we have no context menu.
- (void) setTitle: (NSString*)aString
{
[_cell setTitle: aString];
[self synchronizeTitleAndSelectedItem];
}
- (void) synchronizeTitleAndSelectedItem