Skip to content

Commit

Permalink
Merge pull request #1375 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
disable ok in Settings dialog if config.properties.readonly=true
  • Loading branch information
ashitsalesforce authored Nov 12, 2024
2 parents f34e741 + 9585530 commit bfd59a2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ public void verifyText(VerifyEvent event) {
// to the entered value
Button ok = new Button(buttonComp, SWT.PUSH | SWT.FLAT);
ok.setText(Labels.getString("UI.ok")); //$NON-NLS-1$
ok.setEnabled(!appConfig.getBoolean(AppConfig.PROP_READ_ONLY_CONFIG_PROPERTIES));
ok.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
Expand Down

0 comments on commit bfd59a2

Please sign in to comment.