From c2cbba0ca6966354c3c545d410bf6b1f94480557 Mon Sep 17 00:00:00 2001 From: Zzaphkiel <1278228162@qq.com> Date: Tue, 7 Nov 2023 23:04:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=B9=E5=B1=80=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=95=8C=E9=9D=A2=E4=B8=AD=E5=8F=AC=E5=94=A4=E5=B8=88?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=BB=8F=E9=AA=8C?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=9D=A1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/profile_level_icon_widget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/profile_level_icon_widget.py b/app/components/profile_level_icon_widget.py index 24971628..fe14d5c9 100644 --- a/app/components/profile_level_icon_widget.py +++ b/app/components/profile_level_icon_widget.py @@ -74,6 +74,8 @@ def __init__(self, self.paintXpUntilNextLevel = None self.callUpdate = False + self.updateIcon(icon, xpSinceLastLevel, xpUntilNextLevel, text) + def paintEvent(self, event): if self.paintXpSinceLastLevel != self.xpSinceLastLevel or self.paintXpUntilNextLevel != self.xpUntilNextLevel or self.callUpdate: self.progressRing.setVal(self.xpSinceLastLevel * 100 //