From a7ba33ddf26afc896c9321f077178a39ab2cba74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Sat, 3 Aug 2024 17:14:51 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/myutils/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LunaTranslator/LunaTranslator/myutils/utils.py b/LunaTranslator/LunaTranslator/myutils/utils.py index 40cb87aa..f3364d15 100644 --- a/LunaTranslator/LunaTranslator/myutils/utils.py +++ b/LunaTranslator/LunaTranslator/myutils/utils.py @@ -218,14 +218,14 @@ def trysearchforid_1(gameuid, searchargs: list): continue idname = targetmod[key].idname savehook_new_data[gameuid][idname] = vid + gobject.baseobject.translation_ui.displayglobaltooltip.emit( + f"{key}: found {vid}" + ) if infoid is None or key == primitivtemetaorigin: infoid = key, vid if infoid: key, vid = infoid dispatchsearchfordata(gameuid, key, vid) - gobject.baseobject.translation_ui.displayglobaltooltip.emit( - f"{key}: found {vid}" - ) def trysearchforid(gameuid, searchargs: list):