summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/action.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 0101a3778..20944dac7 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -502,6 +502,7 @@ void GUIAction::operation_end(const int operation_status)
DataManager::SetValue("tw_operation_state", 1);
DataManager::SetValue(TW_ACTION_BUSY, 0);
blankTimer.resetTimerAndUnblank();
+ property_set("twrp.action_complete", "1");
time(&Stop);
if ((int) difftime(Stop, Start) > 10)
DataManager::Vibrate("tw_action_vibrate");
@@ -536,6 +537,7 @@ int GUIAction::key(std::string arg)
int GUIAction::page(std::string arg)
{
+ property_set("twrp.action_complete", "0");
std::string page_name = gui_parse_text(arg);
return gui_changePage(page_name);
}