fix calc-widget
This commit is contained in:
@@ -17,7 +17,7 @@ function on_click()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function on_dialog_action(text)
|
function on_dialog_action(text)
|
||||||
if text == "" then
|
if text == "" or text == -1 then
|
||||||
on_alarm()
|
on_alarm()
|
||||||
else
|
else
|
||||||
ui:show_text("Результат: "..calculate_string(text))
|
ui:show_text("Результат: "..calculate_string(text))
|
||||||
|
|||||||
Reference in New Issue
Block a user