Fix GUIAction::operation_start

We need to set the value of tw_operation_state a little sooner to
make the decrypt page work correctly. Without this change, decrypt
would incorrectly display the main page during the first decrypt
cycle. This fix may also fix ORS and possibly other things that
use the runPage function.

Change-Id: I85ad6e4add6726a2746eeb7116f3eab3f7ff5d84
This commit is contained in:
Ethan Yonker
2015-01-02 15:22:31 -06:00
parent df7abac1a6
commit d83c9ea371

View File

@@ -339,8 +339,8 @@ void GUIAction::operation_start(const string operation_name)
DataManager::SetValue(TW_ACTION_BUSY, 1);
DataManager::SetValue("ui_progress", 0);
DataManager::SetValue("tw_operation", operation_name);
DataManager::SetValue("tw_operation_status", 0);
DataManager::SetValue("tw_operation_state", 0);
DataManager::SetValue("tw_operation_status", 0);
}
void GUIAction::operation_end(const int operation_status)