aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-02-27 10:32:46 +0900
committerGravatar tmk <nobody@nowhere>2013-02-27 10:32:46 +0900
commit40f1a4930a10ce9253c1215949b497c322db41da (patch)
tree4af0422e601d01571488626bc360ae2eba75333a /common
parenta207e848b3b308406263576c1e0d066067888416 (diff)
downloadqmk_firmware-40f1a4930a10ce9253c1215949b497c322db41da.tar.gz
Fix SET_DEFAULT_LAYER action and keymap of gh60
Diffstat (limited to 'common')
-rw-r--r--common/action.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/action.c b/common/action.c
index 7f3e236f0..7ca481fba 100644
--- a/common/action.c
+++ b/common/action.c
@@ -384,21 +384,15 @@ static void process_action(keyrecord_t *record)
/* Keymap Reset default layer */
case (OP_RESET | ON_PRESS):
if (event.pressed) {
- overlay_clear();
- keymap_clear();
default_layer_set(action.layer.val);
}
break;
case (OP_RESET | ON_RELEASE):
if (!event.pressed) {
- overlay_clear();
- keymap_clear();
default_layer_set(action.layer.val);
}
break;
case (OP_RESET | ON_BOTH):
- overlay_clear();
- keymap_clear();
default_layer_set(action.layer.val);
break;