From 6da4a5ab9d3c32c2360e9edb99a9af0f5a8ca41f Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 31 Mar 2025 04:16:04 +0000 Subject: [PATCH] sane-input-handler: dont crash on unmapped actions --- hosts/common/programs/sane-input-handler/sane-input-handler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/common/programs/sane-input-handler/sane-input-handler b/hosts/common/programs/sane-input-handler/sane-input-handler index 8ccde6d29..18813d17e 100755 --- a/hosts/common/programs/sane-input-handler/sane-input-handler +++ b/hosts/common/programs/sane-input-handler/sane-input-handler @@ -569,7 +569,7 @@ if is-main { exit 0 } - var handler = mapToplevel (action) or unmapped + var handler = mapToplevel (action) or "unmapped" handleWith (handler) }