diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2015-02-18 00:34:23 +0300 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2015-02-18 00:34:23 +0300 |
commit | 7b46900570272bc8dd3bef5a01ab83473f21e1a1 (patch) | |
tree | 855c7540947f229b9a9801cda730c17fce08b8c6 /main/src/addins/MonoDevelop.DesignerSupport | |
parent | 3500d1e8d337e5135f0442bff2924ea95c0fd8a0 (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.cs | 6 |
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; } } |