diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/global_keys.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/global_keys.rs b/src/components/global_keys.rs index 6537339..d0a5800 100644 --- a/src/components/global_keys.rs +++ b/src/components/global_keys.rs @@ -77,7 +77,7 @@ impl Component for GlobalKeys { for key_command in &mut self.key_commands { if key_command.key_code == key_event { - return Ok(key_command.action); + return Ok(key_command.action.clone()); } } } |