remove some dead code
We have an early exit for 'error' mode in this function.
This commit is contained in:
parent
7057ac74ec
commit
5cce511550
1
main.lua
1
main.lua
|
@ -232,7 +232,6 @@ function App.keychord_press(chord, key)
|
|||
if run.keychord_press then run.keychord_press(chord, key) end
|
||||
elseif Current_app == 'source' then
|
||||
if source.keychord_press then source.keychord_press(chord, key) end
|
||||
elseif Current_app == 'error' then
|
||||
else
|
||||
assert(false, 'unknown app "'..Current_app..'"')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue