Skip to content

Commit

Permalink
修复点击自动更新后手动更新按钮没有被禁用的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Jun 27, 2024
1 parent 5380538 commit 1aded07
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/components/message_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
import webbrowser

from PyQt5.QtCore import Qt, pyqtSignal
from PyQt5.QtWidgets import QLabel, QTextBrowser, QPushButton, QVBoxLayout, QWidget
from app.common.qfluentwidgets import (MessageBox, MessageBoxBase, SmoothScrollArea,
SubtitleLabel, BodyLabel, TextEdit, TitleLabel,
CheckBox, setCustomStyleSheet, ProgressBar,
from PyQt5.QtWidgets import QPushButton, QVBoxLayout, QWidget
from app.common.qfluentwidgets import (MessageBoxBase, SmoothScrollArea,
BodyLabel, TextEdit, TitleLabel,
ProgressBar,
PrimaryPushButton, ComboBox)

from app.common.config import VERSION, cfg, LOCAL_PATH, BETA
from app.common.util import (github, getLolClientPidSlowly, getPortTokenServerByPid,
getTasklistPath, getLolClientPids, getLolClientPidsSlowly)
from app.common.util import getLolClientPidSlowly
from app.common.signals import signalBus
from app.common.update import runUpdater
from app.lol.connector import connector
Expand Down Expand Up @@ -112,6 +111,7 @@ async def __onYesButtonClicked(self):

self.myYesButton.setEnabled(False)
self.myCancelButton.setEnabled(False)
self.manuallyButton.setEnabled(False)

self.infoLabel.setVisible(True)
self.bar.setVisible(True)
Expand Down

0 comments on commit 1aded07

Please sign in to comment.