only:showUpdateCalibrations

This commit is contained in:
rusefillc 2024-09-19 17:58:03 -04:00 committed by rusEFI LLC
parent 3c5b68ad78
commit de4618d60b
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,9 @@ public class BasicStartupFrame {
updateCalibrationsButton.addActionListener(this::onUpdateCalibrationsButtonClicked);
updateCalibrationsButton.setEnabled(false);
if (ConnectionAndMeta.showUpdateCalibrations()) {
panel.add(updateCalibrationsButton);
}
BasicLogoHelper.setGenericFrameIcon(frame.getFrame());
frame.showFrame(panel, false);