summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/action.cpp')
-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;