mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-19 00:51:51 +00:00
* Framework/PCProjectManager.m: Remove logic requiring projectWindow
to be key in order to save file. This was causing files in tear-off editors to not be saved. This change is in the saveFile method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28260 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e885b519a6
commit
b8a1ac5612
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-04-27 17:09-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Framework/PCProjectManager.m: Remove logic requiring projectWindow
|
||||
to be key in order to save file. This was causing files in
|
||||
tear-off editors to not be saved. This change is in the saveFile
|
||||
method.
|
||||
|
||||
2009-04-22 16:31-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Framework/PCProject.m: Changes to make plist output in
|
||||
|
|
|
@ -1045,8 +1045,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange";
|
|||
|
||||
- (BOOL)saveFile
|
||||
{
|
||||
// We have active project and its window is key
|
||||
if (activeProject && [[activeProject projectWindow] isKeyWindow])
|
||||
if (activeProject)
|
||||
{
|
||||
return [[[activeProject projectEditor] activeEditor] saveFile];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue