mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
parent
84d08a2bcc
commit
732dd1948c
@ -312,9 +312,10 @@ class TranslatorWindow(resizableframeless):
|
|||||||
clear = kwargs.get("clear", False)
|
clear = kwargs.get("clear", False)
|
||||||
|
|
||||||
iter_res_status, iter_context_class = iter_context
|
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)
|
gobject.baseobject.transhis.getnewtranssignal.emit(name, res)
|
||||||
return
|
if iter_res_status == 2:
|
||||||
|
return
|
||||||
|
|
||||||
if onlytrans:
|
if onlytrans:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user