From d6966f44267f53da876642522a9e705b0324072a Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Sat, 30 May 2015 14:52:16 -0500 Subject: Fix unable to uncheck the mount read only check box Change-Id: I1bbc25df6f35f79549f1eb06feb4db9ec0475aa5 --- gui/action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/action.cpp') diff --git a/gui/action.cpp b/gui/action.cpp index fbd80dc94..97d95f170 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -1798,7 +1798,7 @@ int GUIAction::mountsystemtoggle(std::string arg) } else { TWPartition* Part = PartitionManager.Find_Partition_By_Path("/system"); if (Part) { - if (DataManager::GetIntValue("tw_mount_system_ro")) { + if (arg == "0") { DataManager::SetValue("tw_mount_system_ro", 0); Part->Change_Mount_Read_Only(false); } else { -- cgit v1.2.3