From 6d642629b57f4e867846f26d30f8779f2e0e3acb Mon Sep 17 00:00:00 2001 From: Evgeny Date: Wed, 11 Aug 2021 11:30:23 +0300 Subject: [PATCH] fix google translate widget --- community/google-translate-widget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/google-translate-widget.lua b/community/google-translate-widget.lua index ed64af5..453eaac 100644 --- a/community/google-translate-widget.lua +++ b/community/google-translate-widget.lua @@ -17,7 +17,7 @@ function on_click() end function on_dialog_action(text) - if text == "" then + if text == "" or text == -1 then on_alarm() else text_from = text