Skip to content

Commit

Permalink
重构战绩搜索代码 异步处理, 前后端分离
Browse files Browse the repository at this point in the history
  • Loading branch information
Hpero4 committed Sep 20, 2023
1 parent 76a3188 commit ce8bb3f
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 256 deletions.
6 changes: 2 additions & 4 deletions app/view/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,10 +1075,8 @@ def _():
def __onCareerInterfaceGameInfoBarClicked(self, gameId):
name = self.careerInterface.name.text()
self.searchInterface.searchLineEdit.setText(name)
self.searchInterface.gamesView.gamesTab.triggerByButton = False
self.searchInterface.gamesView.gamesTab.updatePuuid(
self.careerInterface.puuid)
self.searchInterface.gamesView.gamesTab.tabClicked.emit(gameId)
self.searchInterface.gamesView.gamesTab.triggerGameId = gameId
self.searchInterface.searchButton.click()

def __onCareerInterfaceRefreshButtonClicked(self):
self.__onSearchInterfaceSummonerNameClicked(
Expand Down
Loading

0 comments on commit ce8bb3f

Please sign in to comment.