From 5505737b37f678e7ea7a1435569d903ca1e1e97b Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Thu, 18 May 2023 16:06:48 -0600 Subject: [PATCH] gui_sys_patch.py: Disable return during patch --- resources/wx_gui/gui_sys_patch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/wx_gui/gui_sys_patch.py b/resources/wx_gui/gui_sys_patch.py index 4ddf44ac2..6bb3d186d 100644 --- a/resources/wx_gui/gui_sys_patch.py +++ b/resources/wx_gui/gui_sys_patch.py @@ -367,6 +367,7 @@ class SysPatchFrame(wx.Frame): return self._generate_modal(patches, "Root Patching") + self.return_button.Disable() thread = threading.Thread(target=self._start_root_patching, args=(patches,)) thread.start() @@ -392,6 +393,7 @@ class SysPatchFrame(wx.Frame): def revert_root_patching(self, patches: dict): logging.info("Reverting root patches") self._generate_modal(patches, "Revert Root Patches") + self.return_button.Disable() thread = threading.Thread(target=self._revert_root_patching, args=(patches,)) thread.start()