fix calc-widget

This commit is contained in:
Evgeny
2021-08-11 10:35:18 +03:00
parent 8a03f7cfa8
commit f9ecf0ba4c

View File

@@ -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
ui:show_text("Результат: "..calculate_string(text))