Author: dpsimons
Date: Thu Mar 26 21:03:54 2015
New Revision: 38437
URL: http://svn.gna.org/viewcvs/gnustep?rev=38437&view=rev
Log:
fix the save panel title to update correctly when it is set
Modified:
libs/gui/branches/gnustep_testplant_branch/ChangeLog
libs/gui/branches/gnustep_testplant_branch/Source/NSSavePanel.m
Modified: libs/gui/branches/gnustep_testplant_branch/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/ChangeLog?rev=38437&r1=38436&r2=38437&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/ChangeLog (original)
+++ libs/gui/branches/gnustep_testplant_branch/ChangeLog Thu Mar 26
21:03:54 2015
@@ -1,3 +1,9 @@
+2015-03-26 Doug Simons <[email protected]>
+
+ * 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 <[email protected]>
* Source/NSTextView.m: Fix bizarre behavior with undo/redo
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSSavePanel.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSSavePanel.m?rev=38437&r1=38436&r2=38437&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSSavePanel.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSSavePanel.m Thu Mar
26 21:03:54 2015
@@ -859,6 +859,7 @@
- (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.
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs