Skip to content
Permalink
Browse files

header text

  • Loading branch information
icklesteve committed Jul 28, 2019
1 parent 593b9e2 commit e7f7736bfee479e8da5854fdf54a9aae2fbad1d1
Showing with 3 additions and 3 deletions.
  1. +3 −3 java/src/jmri/jmrix/can/cbus/swing/nodeconfig/CbusNodeBackupsPane.java
@@ -320,10 +320,10 @@ private void updateHeaderText(){
text.append("<html><h4>");
if (nodeOfInterest.getNodeBackupFile().getBackups().size() == 1 ){
text.append(nodeOfInterest.getNodeBackupFile().getBackups().size());
text.append(" Backup");
text.append(" xml entry");
} else {
text.append(nodeOfInterest.getNodeBackupFile().getBackups().size());
text.append(" Backups");
text.append(" xml entries");
}
text.append("</h4></html>");
headerText.setText(text.toString());
@@ -350,7 +350,7 @@ private void deleteBackup(int bup){
log.debug("Manually deleting {}",nodeOfInterest.getNodeBackupFile().getBackups().get(bup));
nodeOfInterest.getNodeBackupFile().getBackups().remove(bup);
if (!nodeOfInterest.getNodeBackupFile().doStore(false)){
log.error("Issue saving Backup File");
log.error("Issue saving Backup File following remove single entry");
}
cbusNodeBackupTableModel.fireTableDataChanged();
}

0 comments on commit e7f7736

Please sign in to comment.
You can’t perform that action at this time.