Skip to content

Commit

Permalink
修复更新大乱斗 BUFF 时会报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Jun 15, 2024
1 parent 95dec93 commit 92f1275
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/components/profile_level_icon_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,11 @@ def updateIcon(self, icon: str, xpSinceLastLevel=None, xpUntilNextLevel=None, te

def updateAramInfo(self, info):
self.aramInfo = info

if not self.mFlyout:
return

self.mFlyout.updateInfo(info)
self.mFlyout.hide()
self.mFlyout.show()

def enterEvent(self, a0):
if not self.aramInfo or self.mFlyout:
Expand Down Expand Up @@ -271,7 +270,7 @@ def getPosition(self):
return QPoint(x + dx, y)

def updateInfo(self, info):
self.view.updateInfo()
self.view.updateInfo(info)


class AramFlyoutView(FlyoutViewBase):
Expand Down

0 comments on commit 92f1275

Please sign in to comment.