Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2019-02-15 21:25:10 +0300
committerLluis Sanchez <llsan@microsoft.com>2019-02-15 21:52:56 +0300
commit2e9046725a5629d208a35e8312ad5904a05c851f (patch)
treebc87f59d35ebf88f0683dbbe39bf71c6be5fa6e4 /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs
parentca94e4851759c70a3f44e6ed4d2d1f3296ed0bcf (diff)
Track API changes
All services are now referenced from the IdeServices class
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs
index 562ec03168..573d5b690d 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/FileSearchCategory.cs
@@ -67,7 +67,7 @@ namespace MonoDevelop.Components.MainToolbar
// We only want to check it here if it's not part
// of the open combine. Otherwise, it will get
// checked down below.
- if (doc.Project == null && doc.IsFile) {
+ if (doc.Owner == null && doc.IsFile) {
var pf = new ProjectFile (doc.Name);
list.Add (new Tuple<string, string, ProjectFile> (System.IO.Path.GetFileName (pf.FilePath), FileSearchResult.GetRelProjectPath (pf), pf));
}