Fixed progressbar

This commit is contained in:
Severin Münger
2013-09-15 23:47:04 +02:00
parent f2e85aca42
commit fccb6776b0
5 changed files with 30 additions and 12 deletions

View File

@@ -33,6 +33,9 @@ feature -- State handling
set_state (new_state: JSON_OBJECT)
do
if attached {JSON_NUMBER} new_state.item (create {JSON_STRING}.make_json ("progress")) as new_progress then
progress := new_progress.item.to_integer
end
end
state: JSON_OBJECT