Skip to content

Commit

Permalink
Merge pull request #10 from omegat-org/topic/miurahr/fix-connector-en…
Browse files Browse the repository at this point in the history
…able-state

fix: a bug always to be enabled
  • Loading branch information
miurahr authored Dec 16, 2023
2 parents ff00116 + 9c74c7f commit 9f93393
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public boolean isEnabled() {
@Override
public void setEnabled(boolean b) {
enabled = b;
Preferences.setPreference(ALLOW_MICROSOFT_TRANSLATOR_AZURE, true);
Preferences.setPreference(ALLOW_MICROSOFT_TRANSLATOR_AZURE, b);
}

@Override
Expand Down

0 comments on commit 9f93393

Please sign in to comment.