From ddf762ca65f07a03fcf9a17059a259833c7b8b5e Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Mon, 8 Jun 2020 13:42:42 +0200
Subject: [PATCH] fix reset button

---
 src/002-config/mousetrapConfig.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/002-config/mousetrapConfig.js b/src/002-config/mousetrapConfig.js
index 4f4138d57f2..7abaaf4731c 100644
--- a/src/002-config/mousetrapConfig.js
+++ b/src/002-config/mousetrapConfig.js
@@ -156,7 +156,7 @@ App.UI.Hotkeys = (function() {
 			button.className = "inactive";
 		} else {
 			button.onclick = () => {
-				action.combinations = [...defaultCombinations[name]];
+				action.combinations = [...defaultCombinations[actionKey]];
 				saveToStorage();
 				App.UI.reload();
 			};
-- 
GitLab