[Update] アップデート時専用の表示を追加。※失敗した時の処理など、改良の余地あり。
This commit is contained in:
12
view.py
12
view.py
@@ -773,6 +773,8 @@ class View():
|
||||
# Insert sample conversation for testing.
|
||||
# self._insertSampleConversationToTextbox()
|
||||
|
||||
# vrct_gui.updating_window.showUpdatingWindow()
|
||||
|
||||
# Send Message Format
|
||||
def setSendMessageFormat_EntryWidgets(self, message_format:str):
|
||||
result = self.extractMessageFormat(message_format)
|
||||
@@ -1564,9 +1566,13 @@ class View():
|
||||
vrct_gui.confirmation_modal.hide_buttons()
|
||||
vrct_gui.update()
|
||||
vrct_gui.confirmation_modal.update()
|
||||
# vrct_gui.confirmation_modal.grab_set() #Tmp
|
||||
def func(progress):
|
||||
vrct_gui.confirmation_modal.updateDownloadProgress(progress=progress)
|
||||
|
||||
self._hideConfirmationModal()
|
||||
vrct_gui.withdraw()
|
||||
vrct_gui.updating_window.showUpdatingWindow()
|
||||
|
||||
def func(**kwargs):
|
||||
vrct_gui.updating_window.updateDownloadProgress(**kwargs)
|
||||
callFunctionIfCallable(self.view_variable.CALLBACK_UPDATE_SOFTWARE, func)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user