From 74fb2e94d5ff09d4b5871ca33160862f72a641b6 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Mon, 15 Apr 2013 14:35:47 +0000 Subject: Fix some issues with wipe partition list Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7 --- gui/action.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gui') diff --git a/gui/action.cpp b/gui/action.cpp index 9bd5ce5fb..3e1f793df 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -818,6 +818,13 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */) } else { skip = true; } + } else if (wipe_path == "INTERNAL") { + if (!PartitionManager.Wipe_Media_From_Data()) { + ret_val = false; + break; + } else { + skip = true; + } } if (!skip) { if (!PartitionManager.Wipe_By_Path(wipe_path)) { -- cgit v1.2.3