Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 4 additions and 0 deletions.
  1. +4 −0 src-qt4/pc-bootconfig/mainUI.cpp
View
4 src-qt4/pc-bootconfig/mainUI.cpp
@@ -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);

No commit comments for this range

Something went wrong with that request. Please try again.