aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DomeKey/Mappings.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/DomeKey/Mappings.m b/DomeKey/Mappings.m
index f130ba6..382dbba 100644
--- a/DomeKey/Mappings.m
+++ b/DomeKey/Mappings.m
@@ -77,6 +77,13 @@ void reload_mappings(
// Notification failed
NSLog(@"Reload notification failed");
}
+ else {
+ // Run `dome_key_state_load_map_group()` to print any error messages
+ // from parsing.
+ State *tmp = dome_key_state_new();
+ dome_key_state_load_map_group(tmp);
+ dome_key_state_free(tmp);
+ }
return status;
}