Skip to content

Commit 48f7edc

Browse files
fix(window): Fix wrong logical operator in translation conditional
1 parent 128a0bf commit 48f7edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dialect/window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ async def _on_translation(self, *_args):
11031103
self.langs_button_box.props.sensitive = False
11041104

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

11091109
try:

0 commit comments

Comments
 (0)