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:
Diffstat (limited to 'main/src/core/MonoDevelop.Ide')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs
index eaa9121cac..0e98831e68 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingSet.cs
@@ -100,6 +100,9 @@ namespace MonoDevelop.Components.Commands
public bool Equals (KeyBindingSet other)
{
+ // TODO: full IEquatable<KeyBindingSet> implementation
+ // the current solutions is just enough to detect whether a custom set equals a predefined one
+ // and is not a real equality check. See KeyBindingsPanel.SelectCurrentScheme().
if (other == null)
return false;
if (parent != null && parent != other && !parent.Equals (other.parent))