mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
* Source/NSSplitView.m (-setAutosaveName:): Treat an empty
autosaveName as nil to fix problem with some nibs. Patch by Doug Simons <doug.simons@testplant.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38889 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0f94132171
commit
8944e46035
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-08-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSSplitView.m (-setAutosaveName:): Treat an empty
|
||||
autosaveName as nil to fix problem with some nibs.
|
||||
Patch by Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
2015-08-14 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSMatrix.m: Warn about wrong cell array size on
|
||||
|
|
|
@ -1049,6 +1049,10 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
|
||||
- (void) setAutosaveName: (NSString *)autosaveName
|
||||
{
|
||||
if ([autosaveName length] == 0)
|
||||
{
|
||||
autosaveName = nil;
|
||||
}
|
||||
ASSIGN(_autosaveName, autosaveName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue