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:
authorVsevolod Kukol <sevoku@microsoft.com>2017-07-18 17:18:43 +0300
committerVsevolod Kukol <sevoku@microsoft.com>2017-07-18 17:44:19 +0300
commit76066c9542152e1e8d41fcad672236e0d9c4eb7c (patch)
treeb84234f876555daaed8895154ab20a8aadbf9fb1 /main/src/core/MonoDevelop.Ide
parente1353c9a9cdc96c0849d18c9d3650f3bcb13bcce (diff)
[UnitTests] Add tests for KeyBindingSet
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))