Skip to content

Commit

Permalink
fix(window): Fix wrong logical operator in translation conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmardojai committed Nov 4, 2024
1 parent 128a0bf commit 48f7edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialect/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ async def _on_translation(self, *_args):
self.langs_button_box.props.sensitive = False

# If the two languages are the same, nothing is done
if request.src != request.dest or request.text != "":
if request.src != request.dest and request.text != "":
self.translation_loading = True

try:
Expand Down

0 comments on commit 48f7edc

Please sign in to comment.