diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2011-02-03 11:53:16 +0300 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2011-02-03 11:53:48 +0300 |
commit | a50251ceece064b81443576fa9abb83d8285dd1c (patch) | |
tree | be8efda5ea488c1fcd2e50da0dda6e5913deef68 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs | |
parent | 489c0fe3d5d5c1802ee7d3138404c6d00ca6fdb8 (diff) |
[Ide] Fix removing newly added runtimes
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs index f4e874590f..aba80b9063 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs @@ -187,7 +187,7 @@ namespace MonoDevelop.Ide.Gui.OptionPanels if (tree.Selection.GetSelected (out it)) { object ob = store.GetValue (it, 1); MonoTargetRuntime tr = ob as MonoTargetRuntime; - buttonRemove.Sensitive = tr != null && tr.UserDefined; + buttonRemove.Sensitive = (tr != null && tr.UserDefined) || ob is MonoRuntimeInfo; buttonDefault.Sensitive = true; } else { buttonRemove.Sensitive = false; |