Changeset de1ea77


Ignore:
Timestamp:
08/07/13 06:54:16 (16 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
03aedf0, 4f9718b
Parents:
6156865
Message:

Fix a bug where the save buttons did not get de-activated on successful save in pc-bootconfig.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-bootconfig/mainUI.cpp

    rb3cb948 rde1ea77  
    394394  if(!ok){ 
    395395    qDebug() << "Unable to save the GRUB defaults to file:" << file_GRUBdefaults+".new"; 
     396  }else{ 
     397    ui->tool_GRUBsavedefaults->setEnabled(false); 
     398    ui->tool_GRUBresetdefaults->setEnabled(false);     
    396399  } 
    397400} 
     
    419422  QStringList contents = ui->text_GRUBentries->toPlainText().split("\n"); 
    420423  bool ok = saveGRUBcustomentries(contents); 
    421   if(ok){ }//ui->tool_GRUBsaveentries->setEnabled(false); } 
    422   else{ 
     424  if(ok){  
     425          ui->tool_GRUBsaveentries->setEnabled(false); 
     426          ui->tool_GRUBresetentries->setEnabled(false); 
     427  }else{ 
    423428    qDebug() << "Error saving custom grub entries to file:" << file_GRUBentries+".new"; 
    424429  } 
Note: See TracChangeset for help on using the changeset viewer.