issues/1002

https://github.com/HIllya51/LunaTranslator/issues/1002
This commit is contained in:
恍兮惚兮 2024-08-16 14:51:59 +08:00
parent 84d08a2bcc
commit 732dd1948c

View File

@ -312,9 +312,10 @@ class TranslatorWindow(resizableframeless):
clear = kwargs.get("clear", False)
iter_res_status, iter_context_class = iter_context
if iter_res_status == 2: # iter结束
if iter_res_status in (0, 2): # iter结束
gobject.baseobject.transhis.getnewtranssignal.emit(name, res)
return
if iter_res_status == 2:
return
if onlytrans:
return