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:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2015-02-18 00:34:23 +0300
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2015-02-18 00:34:23 +0300
commit7b46900570272bc8dd3bef5a01ab83473f21e1a1 (patch)
tree855c7540947f229b9a9801cda730c17fce08b8c6 /main/src/addins/MonoDevelop.DesignerSupport
parent3500d1e8d337e5135f0442bff2924ea95c0fd8a0 (diff)
[PropertyGrid] Allow typing in custom build actions
Diffstat (limited to 'main/src/addins/MonoDevelop.DesignerSupport')
-rw-r--r--main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/ProjectFileDescriptor.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/ProjectFileDescriptor.cs b/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/ProjectFileDescriptor.cs
index 010a8b82e1..0a95a9c589 100644
--- a/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/ProjectFileDescriptor.cs
+++ b/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/ProjectFileDescriptor.cs
@@ -173,11 +173,7 @@ namespace MonoDevelop.DesignerSupport
}
public override bool GetStandardValuesExclusive (ITypeDescriptorContext context)
{
- //only make the list exclusive if we managed to get a list from the parent project
- ProjectFileDescriptor descriptor = context != null?
- context.Instance as ProjectFileDescriptor : null;
-
- return (descriptor != null && descriptor.file != null && descriptor.file.Project != null);
+ return false;
}
}