Skip to content

Commit

Permalink
Fixed #78
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoYouChR committed Jan 25, 2025
1 parent 1c385fc commit a964ebf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/view/task_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ def addDownloadTask(self, url: str, path: str, block_num: int, name: str = None,

# 如果 self.noTaskLabel 可见,则隐藏
self.expandLayout.removeWidget(self.noTaskLabel)
if self.noTaskLabel.isVisible():
self.noTaskLabel.hide()
self.noTaskLabel.hide()

self.__sortTask()

Expand Down

0 comments on commit a964ebf

Please sign in to comment.