diff --git a/ChangeLog b/ChangeLog index d433633..b9a18b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-04-27 17:09-EDT Gregory John Casamento + + * 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 * Framework/PCProject.m: Changes to make plist output in diff --git a/Framework/PCProjectManager.m b/Framework/PCProjectManager.m index 49e86f9..f336e26 100644 --- a/Framework/PCProjectManager.m +++ b/Framework/PCProjectManager.m @@ -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]; }