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