Permalink
Browse files

Make sure that the beadm and GRUB activated BE's are in sync. This sh…

…ould make sure that whichever bootloader you are using, the activated BE is the one that will be started by default.
  • Loading branch information...
1 parent ca97cef commit e9ebd5944c00bb3df6ab316974eee372e8480979 Ken Moore committed Feb 3, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 src-qt4/pc-bootconfig/mainUI.cpp
@@ -347,7 +347,10 @@ void mainUI::on_tool_BEactivate_clicked(){
G_defaultBE = index;
bool ok = saveGRUBdefaults(G_themeFile, G_fontFile, G_timer, G_showMenu, G_defaultBE);
//Update GRUB config
- if(ok){ on_action_rebuildGRUBmenu_triggered(); }
+ if(ok){
+ on_action_rebuildGRUBmenu_triggered(); //For GRUB bootloader
+ beadmActivate( ui->tree_BE->currentItem()->text(0) ); //for other bootloaders
+ }
//Update GUI
updateBEList();
}

0 comments on commit e9ebd59

Please sign in to comment.