중복 Business 버튼 삭제
This commit is contained in:
parent
340a03dfa7
commit
e64fabe2ec
6
main.py
6
main.py
|
|
@ -56,7 +56,7 @@ class MainWindow(QMainWindow):
|
||||||
mainLayout.addWidget(self.loadPercentyButton)
|
mainLayout.addWidget(self.loadPercentyButton)
|
||||||
mainLayout.addWidget(self.applyBusinessButton)
|
mainLayout.addWidget(self.applyBusinessButton)
|
||||||
self.loadPercentyButton.clicked.connect(self.load_current_percenty_setting)
|
self.loadPercentyButton.clicked.connect(self.load_current_percenty_setting)
|
||||||
self.applyBusinessButton.clicked.connect(self.applay_current_business_setting)
|
# self.applyBusinessButton.clicked.connect(self.applay_current_business_setting)
|
||||||
|
|
||||||
# 메뉴바 및 설정 불러오기 액션 추가
|
# 메뉴바 및 설정 불러오기 액션 추가
|
||||||
menuBar = QMenuBar(self)
|
menuBar = QMenuBar(self)
|
||||||
|
|
@ -89,7 +89,7 @@ class MainWindow(QMainWindow):
|
||||||
async def load_current_percenty_setting(self):
|
async def load_current_percenty_setting(self):
|
||||||
if not self.webtask:
|
if not self.webtask:
|
||||||
self.webtask = WebTask()
|
self.webtask = WebTask()
|
||||||
await self.webtask.start()
|
# await self.webtask.start()
|
||||||
# 여기에 설정 불러오는 추가적인 비동기 작업을 수행합니다.
|
# 여기에 설정 불러오는 추가적인 비동기 작업을 수행합니다.
|
||||||
print("설정 불러오기 작업 완료")
|
print("설정 불러오기 작업 완료")
|
||||||
|
|
||||||
|
|
@ -109,7 +109,7 @@ async def main():
|
||||||
await webtask.close()
|
await webtask.close()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
asyncio.run(main())
|
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
|
asyncio.run(main())
|
||||||
|
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
Loading…
Reference in New Issue