Skip to content

Commit

Permalink
Toggle token button
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Apr 17, 2024
1 parent a436da9 commit 34480d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/mpo/dayon/assistant/gui/AssistantFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ void onReady() {
actions.getStopAction().setEnabled(false);
startButton.setVisible(true);
stopButton.setVisible(false);
actions.getTokenAction().setEnabled(true);
actions.getToggleCompatibilityModeAction().setEnabled(true);
actions.getIpAddressAction().setEnabled(true);
// session
Expand Down Expand Up @@ -452,6 +453,7 @@ boolean onAccepted(Socket connection) {
add(center, BorderLayout.CENTER);
screenshotButton.setEnabled(true);
actions.getResetAction().setEnabled(true);
actions.getTokenAction().setEnabled(false);
enableControls();
validate();
repaint();
Expand Down

0 comments on commit 34480d9

Please sign in to comment.