fix calc-widget
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user