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
diff --git a/gui/action.cpp b/gui/action.cpp
index d1daab7..4796ff3 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -339,8 +339,8 @@
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)