From 7662dd4bf5761ae9368d396b1dc3ed28508b18d9 Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Sun, 24 Sep 2023 05:38:48 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8D[Update]=20Main=20WIndow=20:=20upda?= =?UTF-8?q?te=E5=87=A6=E7=90=86=E3=82=92model=E3=81=AE=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=81=A6=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updateの結果から直接viewを変更する --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 303a7671..03c684aa 100644 --- a/main.py +++ b/main.py @@ -583,7 +583,8 @@ if config.STARTUP_OSC_ENABLED_CHECK is True and config.ENABLE_SEND_MESSAGE_TO_VR model.checkOSCStarted(view.printToTextbox_OSCError) # check Software Updated -model.checkSoftwareUpdated(callbackChangeStatusSoftwareUpdated) +if model.checkSoftwareUpdated() is True: + view.showUpdateAvailableButton() # init logger if config.ENABLE_LOGGER is True: