disable timezone and skip fat options in Add Local FIles wizard

This commit is contained in:
adam-m 2013-05-16 12:30:26 -04:00
parent 7392085ba1
commit 8bd88761f0

View File

@ -102,6 +102,15 @@ final class AddImageVisualPanel1 extends JPanel {
}); });
currentPanel.select(); currentPanel.select();
if (currentPanel.getContentType().equals(ContentType.LOCAL)) {
//disable image specific options
noFatOrphansCheckbox.setEnabled(false);
timeZoneComboBox.setEnabled(false);
}
else {
noFatOrphansCheckbox.setEnabled(true);
timeZoneComboBox.setEnabled(true);
}
updateUI(null); updateUI(null);
} }