From 97a4b21a92e117da6a28beba30cdb8161aa497e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Sat, 9 Nov 2024 15:50:09 +0800 Subject: [PATCH] useless --- py/LunaTranslator/gui/setting_textinput_ocr.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/py/LunaTranslator/gui/setting_textinput_ocr.py b/py/LunaTranslator/gui/setting_textinput_ocr.py index fb1ef3fb..eb13330c 100644 --- a/py/LunaTranslator/gui/setting_textinput_ocr.py +++ b/py/LunaTranslator/gui/setting_textinput_ocr.py @@ -60,13 +60,6 @@ class triggereditor(LDialog): if action == remove: self.hctable.removeselectedrows() - def moverank(self, dy): - _pair = self.hctable.moverank(dy) - if not _pair: - return - src, tgt = _pair - self.internalrealname.insert(tgt, self.internalrealname.pop(src)) - def __init__(self, parent) -> None: super().__init__(parent) self.list = globalconfig["ocr_trigger_events"]