From fc33f7e4cfdc8256ba626f9b4b6151b4e874c427 Mon Sep 17 00:00:00 2001 From: tsjykj <114121999@qq.com> Date: Tue, 1 Jul 2025 17:49:48 +0800 Subject: [PATCH] 20250701-1 --- gui.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gui.py b/gui.py index 19731a9..ad99e72 100644 --- a/gui.py +++ b/gui.py @@ -576,19 +576,6 @@ class WatermarkGUI: result = messagebox.askyesno("确认", f"确定要批量处理所有 {len(self.image_files)} 张图片吗?") if not result: return - - # 禁用处理按钮 - self.processing = True - self.status_bar.config(text="批量处理中...") - - # 在单独的线程中执行批量处理 - batch_thread = threading.Thread(target=self._batch_process_thread) - batch_thread.daemon = True - batch_thread.start() - - def _batch_process_thread(self, i=None): - """在后台线程中执行批量处理""" - try: total = len(self.image_files) processed = 0 errors = 0