Disable load from file option when using ET mode

This commit is contained in:
Dale Schultz 2016-09-12 17:00:13 -04:00
parent 52e553ab2c
commit 695a7473d1
1 changed files with 3 additions and 0 deletions

View File

@ -810,6 +810,7 @@ public final class DynoControlPanel extends JPanel {
dButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent actionEvent) {
loadFileCB.setEnabled(true);
chartPanel.setDyno();
if (loadFileCB.isSelected()) {
recordDataButton.setText("Load From File");
@ -829,6 +830,8 @@ public final class DynoControlPanel extends JPanel {
eButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent actionEvent) {
loadFileCB.setEnabled(false);
loadFileCB.setSelected(false);
chartPanel.setET();
recordDataButton.setText("Record ET");
// filterPanel.setVisible(false);