UI: clear text log at the start of each extraction

This commit is contained in:
HONOR
2026-09-20 10:34:01 +08:00
parent 49c04a231a
commit a8ec26e58c
+2
View File
@@ -374,6 +374,8 @@ class BatchTableExtractorApp:
self._stop_event.clear() self._stop_event.clear()
self._is_running = True self._is_running = True
# 清空上一次的运行日志
self.txt.delete(1.0, tk.END)
self.log(f"\n===== 开始任务: 共扫描到 {len(files_to_process)} 个文件 =====") self.log(f"\n===== 开始任务: 共扫描到 {len(files_to_process)} 个文件 =====")
self._start_time = time.time() self._start_time = time.time()