fix the save panel title to update correctly when it is set

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38437 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2015-03-26 20:03:54 +00:00
parent 1794273db5
commit 7bcce58ffe
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2015-03-26 Doug Simons <doug.simons@testplant.com>
* Source/NSSavePanel.m: Fix problem with the title shown in
the save panel's title bar not matching the set title when
the panel is reused for a different purpose.
2015-01-08 Doug Simons <doug.simons@testplant.com>
* Source/NSTextView.m: Fix bizarre behavior with undo/redo

View file

@ -859,6 +859,7 @@ selectCellWithString: (NSString*)title
- (void) setTitle: (NSString*)title
{
[_titleField setStringValue: title];
[super setTitle:title]; // keep the window title in sync with the title field
// TODO: Improve the following by managing
// vertical alignment better.