Logic improvements

This commit is contained in:
Eugene Livis 2016-09-15 10:30:16 -04:00
parent 2970f308d2
commit e14c6ae594

View File

@ -671,7 +671,9 @@ public class CaseImportPanel extends javax.swing.JPanel implements ImportDoneCal
* Enables the start button if all input is in order, disables it otherwise
*/
private void enableStartButton() {
if (UserPreferences.getIsMultiUserModeEnabled() && (AutoIngestUserPreferences.getMode() == AUTOMATED)
if (UserPreferences.getIsMultiUserModeEnabled()
&& AutoIngestUserPreferences.getJoinAutoModeCluster()
&& (AutoIngestUserPreferences.getMode() == AUTOMATED)
&& !tbCaseSource.getText().isEmpty()
&& !tbCaseDestination.getText().isEmpty()
&& canTalkToDb == true