From 8dc25b7984c4bb511f693c49ecfae11d42972e26 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Mon, 25 Apr 2016 23:06:53 -0500 Subject: Fixup reboot after install variables * Create correctly named data manager variable 'tw_install_reboot' * Make configurable through Settings * Remove closing tag space in theme files (not personal preference, but should match surrounding code style) * Fix the "two presses needed to enable" issue for the checkbox on the install screen Change-Id: I0ceb60b4888a672e2f0ecb5672b03cc86615621a --- data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data.cpp') diff --git a/data.cpp b/data.cpp index 3eb9dadae..553c9a4cc 100644 --- a/data.cpp +++ b/data.cpp @@ -676,7 +676,7 @@ void DataManager::SetDefaultValues() mConst.SetValue(TW_MIN_SYSTEM_VAR, TW_MIN_SYSTEM_SIZE); mData.SetValue(TW_BACKUP_NAME, "(Auto Generate)"); - mPersist.SetValue(TW_REBOOT_AFTER_FLASH_VAR, "0"); + mPersist.SetValue(TW_INSTALL_REBOOT_VAR, "0"); mPersist.SetValue(TW_SIGNED_ZIP_VERIFY_VAR, "0"); mPersist.SetValue(TW_FORCE_MD5_CHECK_VAR, "0"); mPersist.SetValue(TW_DISABLE_FREE_SPACE_VAR, "0"); -- cgit v1.2.3