From 79ad40df13b79573ee070fbc4897731d155c584d Mon Sep 17 00:00:00 2001 From: fandesfyf <2861114322@qq.com> Date: Thu, 6 Apr 2023 01:05:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E9=80=80?= =?UTF-8?q?=E5=87=BA=E5=9B=BA=E5=AE=9A=E6=88=AA=E5=B1=8F=E6=97=B6=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jamWidgets.py | 3 ++- main.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jamWidgets.py b/jamWidgets.py index 00eb0ed..ee0f846 100644 --- a/jamWidgets.py +++ b/jamWidgets.py @@ -753,7 +753,8 @@ def clear(self): self.hide() if hasattr(self,"Loading_label"): self.Loading_label.stop() - self.text_shower.close() + self.text_shower.clear() + self.text_shower.hide() del self.showing_imgpix self.hung_widget.clear() super().clear() diff --git a/main.py b/main.py index 67297f9..37eb829 100644 --- a/main.py +++ b/main.py @@ -58,6 +58,7 @@ import math import re from numpy import array, zeros, uint8, float32,array +from jamWidgets import FramelessEnterSendQTextEdit,Freezer from jamroll_screenshot import Splicing_shots from fake_useragent import UserAgent from PaddleOCRModel.PaddleOCRModel import det_rec_functions as OcrDetector