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