Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit c54da2a

Browse files
authored
Merge pull request #81 from mmunn1/master
S3 Delete No/Yes button labels are backwards
2 parents 5cc2929 + bb6a555 commit c54da2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/explorer/s3/actions/DeleteBucketAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private Dialog newConfirmationDialog(String title, String message) {
6363
protected void doRun() {
6464
Dialog dialog = newConfirmationDialog(getText() + "?", "Are you sure you want to delete the selected buckets?");
6565

66-
if (Window.OK != dialog.open()) {
66+
if (dialog.open() != 1) {
6767
actionCanceled();
6868
actionFinished();
6969
return;

bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/explorer/s3/actions/DeleteObjectAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private Dialog newConfirmationDialog(String title, String message) {
5858
@Override
5959
protected void doRun() {
6060
Dialog dialog = newConfirmationDialog(getText() + "?", "Are you sure you want to delete the selected objects?");
61-
if (dialog.open() != Window.OK) {
61+
if (dialog.open() != 1) {
6262
actionCanceled();
6363
actionFinished();
6464
return;

0 commit comments

Comments
 (0)