summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-01-08 20:12:38 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-18 17:49:23 +0100
commit029a82db6cef52af402271cc0920d2c7f532a5ab (patch)
tree25c743f0380381786fa4dd081b56b47abb5b7342 /gui/action.cpp
parentWhitespace cleanup (diff)
downloadandroid_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.tar
android_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.tar.gz
android_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.tar.bz2
android_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.tar.lz
android_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.tar.xz
android_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.tar.zst
android_bootable_recovery-029a82db6cef52af402271cc0920d2c7f532a5ab.zip
Diffstat (limited to '')
-rw-r--r--gui/action.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 8f85e16da..f7f29e8ba 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -1874,9 +1874,8 @@ int GUIAction::setbootslot(std::string arg)
{
operation_start("Set Boot Slot");
if (!simulate)
- {
PartitionManager.Set_Active_Slot(arg);
- } else
+ else
simulate_progress_bar();
operation_end(0);
return 0;