From d83c9ea371d74a7abeb92d6bfc3603c13e5f034d Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 2 Jan 2015 15:22:31 -0600 Subject: 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 --- gui/action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/action.cpp b/gui/action.cpp index d1daab75b..4796ff335 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -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) -- cgit v1.2.3