Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:pcbsd/pcbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Aug 27, 2013
2 parents ae4e853 + f74e9cd commit 5aeb213
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src-qt4/pc-bootconfig/mainUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ void mainUI::on_tool_BEactivate_clicked(){
void mainUI::on_tool_BEcp_clicked(){
int index = getSelectedBE();
if(index != -1){
if(ui->tree_BE->topLevelItem(index)->text(1).toLower() == "yes"){
QMessageBox::warning(this,tr("Running Boot Environment"),tr("You cannot make a copy of the currently running boot environment!") );
return;
}
bool updateGRUB=false;
if( ui->tree_BE->topLevelItemCount() == 1){updateGRUB=true;} //moving from 1 to 2
QString name = ui->tree_BE->topLevelItem(index)->text(0);
Expand Down

0 comments on commit 5aeb213

Please sign in to comment.