Skip to content

Commit

Permalink
Merge pull request #969 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
cleanup toggle between "keep acct team" and "use bulk api"
  • Loading branch information
ashitsalesforce authored Feb 8, 2024
2 parents a25f8de + 452c6dc commit ed797ff
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,10 @@ public void widgetSelected(SelectionEvent e) {
super.widgetSelected(e);
boolean enabled = buttonKeepAccountTeam.getSelection();
// make sure the appropriate check boxes are enabled or disabled
buttonUseBulkApi.setSelection(!enabled);
setBulkSettings(!enabled);
if (enabled) {
buttonUseBulkApi.setSelection(false);
setBulkSettings(false);
}
}
});
buttonKeepAccountTeam.setToolTipText(Labels.getString("AdvancedSettingsDialog.keepAccountTeamHelp"));
Expand All @@ -552,7 +554,9 @@ public void widgetSelected(SelectionEvent e) {
textBatch.setText(String.valueOf(newDefaultBatchSize));
// make sure the appropriate check boxes are enabled or disabled
setBulkSettings(enabled);
buttonKeepAccountTeam.setSelection(!enabled);
if (enabled) {
buttonKeepAccountTeam.setSelection(false);
}
}
});
if (useBulkAPI) {
Expand Down

0 comments on commit ed797ff

Please sign in to comment.