From a8ec26e58c65449aedf6eda00d6252f4c5a0e844 Mon Sep 17 00:00:00 2001 From: HONOR Date: Sun, 20 Sep 2026 10:34:01 +0800 Subject: [PATCH] UI: clear text log at the start of each extraction --- src/ui/gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/gui.py b/src/ui/gui.py index 930a865..6c420b6 100644 --- a/src/ui/gui.py +++ b/src/ui/gui.py @@ -374,6 +374,8 @@ class BatchTableExtractorApp: self._stop_event.clear() self._is_running = True + # 清空上一次的运行日志 + self.txt.delete(1.0, tk.END) self.log(f"\n===== 开始任务: 共扫描到 {len(files_to_process)} 个文件 =====") self._start_time = time.time()