mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 00:30:58 +00:00
Improve OS X compatibility with respect to managing the document
controller's recent-documents list. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28861 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9fc52af6f3
commit
358214ef48
2 changed files with 6 additions and 2 deletions
|
@ -603,7 +603,7 @@ TypeInfoForHumanReadableName (NSArray *types, NSString *typeName)
|
|||
}
|
||||
|
||||
// remember this document as opened
|
||||
[self noteNewRecentDocumentURL: url];
|
||||
[self noteNewRecentDocument: document];
|
||||
|
||||
if (display && [self shouldCreateUI])
|
||||
{
|
||||
|
@ -688,7 +688,7 @@ TypeInfoForHumanReadableName (NSArray *types, NSString *typeName)
|
|||
}
|
||||
|
||||
// remember this document as opened
|
||||
[self noteNewRecentDocumentURL: url];
|
||||
[self noteNewRecentDocument: document];
|
||||
|
||||
if (flag && [self shouldCreateUI])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue