Browse Source

Fixed problem where a form's resx file would be opened the next time a solution was loaded if the solution was closed with the form open in the designer.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3008 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 18 years ago
parent
commit
1014987ccd
  1. 6
      src/Main/Base/Project/Src/Project/AbstractProject.cs

6
src/Main/Base/Project/Src/Project/AbstractProject.cs

@ -75,9 +75,9 @@ namespace ICSharpCode.SharpDevelop.Project @@ -75,9 +75,9 @@ namespace ICSharpCode.SharpDevelop.Project
Properties properties = new Properties();
properties.Set("bookmarks", ICSharpCode.SharpDevelop.Bookmarks.BookmarkManager.GetProjectBookmarks(this).ToArray());
List<string> files = new List<string>();
foreach (OpenedFile file in FileService.OpenedFiles) {
if (file.FileName != null && IsFileInProject(file.FileName)) {
files.Add(file.FileName);
foreach (string fileName in FileService.GetOpenFiles()) {
if (fileName != null && IsFileInProject(fileName)) {
files.Add(fileName);
}
}
properties.Set("files", files.ToArray());

Loading…
Cancel
Save