Skip to content

Commit 3f6ab55

Browse files
Use properties for hashcode
1 parent c03a0b0 commit 3f6ab55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public override bool Equals(object obj)
177177

178178
public override int GetHashCode()
179179
{
180-
return this.ToString().GetHashCode();
180+
return HashCode.Combine(ModifierKeys, CharKey);
181181
}
182182
}
183183
}

0 commit comments

Comments
 (0)