Skip to content

Commit

Permalink
Revert "Fix enum tags"
Browse files Browse the repository at this point in the history
This reverts commit ae176f7.
  • Loading branch information
martinpaljak authored Dec 21, 2023
1 parent ae176f7 commit c95dbd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tool/src/main/java/apdu4j/tool/FancyChooser.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ synchronized public void readerListChanged(List<PCSCReader> readers) {
MessageDialog warn = new MessageDialogBuilder()
.setTitle(" Warning! ")
.setText("Reader is in exclusive use by some other application")
.addButton(MessageDialogButton.CANCEL)
.addButton(MessageDialogButton.CONTINUE)
.addButton(MessageDialogButton.Cancel)
.addButton(MessageDialogButton.Continue)
.build();
warn.setCloseWindowWithEscape(true);
MessageDialogButton d = warn.showDialog(gui);
if (d == null || d == MessageDialogButton.CANCEL) {
if (d == null || d == MessageDialogButton.Cancel) {
return;
}
// Fall through if clause and set chosen one.
Expand Down Expand Up @@ -252,9 +252,9 @@ private FancyChooser(Terminal terminal, Screen screen, TerminalManager manager,
// Empty line between quit button
mainPanel.addComponent(new EmptySpace(new TerminalSize(0, 1)));
quitButton = new Button("Cancel and quit", () -> mainWindow.close());
quitButton.setLayoutData(LinearLayout.createLayoutData(LinearLayout.Alignment.END));
quitButton.setLayoutData(LinearLayout.createLayoutData(LinearLayout.Alignment.End));
mainPanel.addComponent(quitButton);
//mainPanel.setLayoutData(LinearLayout.createLayoutData(LinearLayout.Alignment.END));
//mainPanel.setLayoutData(LinearLayout.createLayoutData(LinearLayout.Alignment.End));
mainWindow.setComponent(mainPanel);
}

Expand Down

0 comments on commit c95dbd9

Please sign in to comment.